File_Init(), Byte
|
Value |
Meaning |
|
cErrOK |
Initialization successful. |
|
cErrNoResponse |
No response from the SD card. |
|
cErrInvalidFormat |
SD card not formatted with FAT16 or FAT32. |
|
cErrRWError |
Read/write error. |
This procedure initializes the SD card by setting input/output pins, switching to SPI mode, and reading the Master Boot Record (MBR) and Boot Record.
It must be called before using the SD card.
File_Init()
Note: Once initialized successfully, this command does not need to be called again unless a new SD card is inserted.
Created with the Personal Edition of HelpNDoc: Write eBooks for the Kindle