Hello all,
I'm using the MSPI driver on a Xmega. My Xmega has 7 ports, C0, C1, D0, .... F0.
Because the hardware is setup with different ports to different boards, I want to switch those ports without writing dedicated firmware. Is this possible? Is there a command?
So just like you have with the serial ports, you have the command 'SerPortSelect':
SerPortSelect:=UsartC1;
SerOut ('xxx');
I want to have it for the MSPI driver, something like:
MSPIPortSelect:=UsartC1;
MSPIoutByte($AA);
Thanx for some helping;)
I'm using the MSPI driver on a Xmega. My Xmega has 7 ports, C0, C1, D0, .... F0.
Because the hardware is setup with different ports to different boards, I want to switch those ports without writing dedicated firmware. Is this possible? Is there a command?
So just like you have with the serial ports, you have the command 'SerPortSelect':
SerPortSelect:=UsartC1;
SerOut ('xxx');
I want to have it for the MSPI driver, something like:
MSPIPortSelect:=UsartC1;
MSPIoutByte($AA);
Thanx for some helping;)