2 #include "core/ssp/ssp.h"
4 /*-----------------------------------------------------------------------*/
5 /* Transmit a byte via SPI (Platform dependent) */
6 /*-----------------------------------------------------------------------*/
7 void xmit_spi(BYTE dat
) {
8 sspSend(0, (uint8_t*) &dat
, 1);
11 /*-----------------------------------------------------------------------*/
12 /* Receive a byte from MMC via SPI (Platform dependent) */
13 /*-----------------------------------------------------------------------*/
14 BYTE
rcvr_spi (void) {
17 sspReceive(0, &data
, 1);
This page took 0.040877 seconds and 5 git commands to generate.