C
BYTE MDD_SDSPI_ReadMedia();
Description
The MDD_SDSPI_ReadMedia function will read one byte from the SPI port.
Preconditions
None.
Returns
The byte read.
Side Effects
None.
Remarks
This function replaces ReadSPI, since some implementations of that function will initialize SSPBUF/SPIBUF to 0x00 when reading. The card expects 0xFF.