#include "board.h"
#include "lcd.h"
Include dependency graph for board.c:
Go to the source code of this file.
Classes | |
union | Temp |
Generic temp variable for non-reentrant main routines. More... | |
Functions | |
unsigned char | SPIGetChar () |
Send 8 ones to SPI bus and receive the result byte. | |
void | SPI8Clocks (unsigned char nClocks) |
Send nClocks x 8 clock transitions with MOSI=1 (0xff). | |
void | Delay (int milliseconds) |
Busy loop delay function. | |
void | InitBoard () |
Startup initialization of the microcontroller board. | |
Variables | |
Temp | temp |
Generic temp variable for non-reentrant main routines. |
Definition in file board.c.
|
Busy loop delay function. Creates n times 1 ms hardware delays Definition at line 35 of file board.c. References InitiateDelay, and WaitOutDelay. Referenced by InitMMC(), LcdPrintGenericResult(), LoadPatch(), Mp3Reset(), Mp3SoftReset(), RebootMMC(), Record(), and VsSineTest().
|
|
Startup initialization of the microcontroller board.
Definition at line 43 of file board.c. References InitiateDelay, MMC_OFF, and MP3_XRESET. Referenced by main().
|
|
Send nClocks x 8 clock transitions with MOSI=1 (0xff).
Definition at line 26 of file board.c. References SPIPutCharWithoutWaiting, and SPIWait. Referenced by MmcCommand(), MmcWaitForData(), ReadPhysicalSector(), and WritePhysicalSector().
|
|
Send 8 ones to SPI bus and receive the result byte.
Definition at line 18 of file board.c. References SPI_RESULT_BYTE, SPIPutCharWithoutWaiting, and SPIWait. Referenced by ConsoleDecipherMMCResponse(), MmcCommand(), MmcGetData(), MmcWaitForData(), and WritePhysicalSector().
|
|
Generic temp variable for non-reentrant main routines.
Referenced by BuildFragmentTable(), FatInitGlobals(), GetAVIBlock(), InitMMC(), LoadPatch(), main(), OpenFile(), Record(), SendZerosToVS10xx(), UpdateDisplay(), and WriteClusterChain(). |