Data Storage
Last updated
Was this helpful?
Last updated
Was this helpful?
There are two libraries that are used within this SD card guide:
XDK Driver API for managing the SD card (e.g. initialization, status)
3rd Party API for FAT file system operations on the card (e.g. mounting the card, creating and deleting files)
Function
Description
SDCardDriver_Initialize
This function is called to initialize the SD card module in the XDK while configuring the hardware, registering callback functions for SD card events and setting up the communication path to the SD card module (SPI)
SDCardDriver_GetDetectStatus
This function is used to get the status of the SD card whether the SD card has been inserted or removed
SDCardDriver_DiskInitialize
This function is called to initialize the communication to the inserted SD card in the SD card module of the XDK and to verify the card status
SDCardDriver_Deinitialize
This function is not used in this guide, but it can be helpful in XDK projects with SD cards where the system needs to run on a battery. Then the de-initialization of the SD card into idle state can reduce the overall energy consumption by some mA depending on the SD card