changing circuitry to disable RTC, update initialization to match
[fw/openalt] / fatfs / spi.h
1 #ifndef _MMCLLSPI1_H_
2 #define _MMCLLSPI1_H_
3
4 #include "sysdefs.h"
5
6 //
7 //
8 //
9 void spiChipSelect (BOOL select);
10 inline BOOL spiPresent (void);
11 inline BOOL spiWriteProtect (void);
12 U32 spiSetClockFreq (U32 frequency);
13 void spiInit (void);
14 U8 spiTransferByte (U8 c);
15 U8 spiWaitReady (void);
16 void spiSendBlock (U8 *pData, U32 size);
17 void spiReceiveBlock (U8 *pData, U32 size);
18 void spiDelay1ms (U32 delay);
19
20 #endif