SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
Uint16 rdata;
SpiaRegs.SPICTL.bit.TALK = 0; // Disable Transmit path
while(SpiaRegs.SPISTS.bit.INT_FLAG !=1) {} // Waits until data rx’d
rdata = SpiaRegs.SPIRXBUF; // Slave reads data