Generic interface to the Secure Digital SD Card over SPI. More...

+ Collaboration diagram for SDCARD:

A prior call to BSP_Board_Initialize(param1, param2) function is necessary to initialize the MCU resources needed by the SD device.

Once the SD is requested a call to BSP_SDCard_Connect() function is required to map the internal MCU resources to their associated function.

The application needs get the handle for the MCU resource driver via BSP_SDCard_GetHandle() and to initialize the MCU resource driver by calling the MCU_<RESOURCE>_Initialize() and providing it with the previously acquired handle and an event callback function.

Then a call to BSP_SDCard_Enable() will execute the required sequence to enable the SD peripheral and the MCU resources dedicated for it (SPI) and will associate the interrupt requests to their appropriate service routines.

The BSP_SDCard_Disable() will revert back what the BSP_SDCard_Enable() has done and set the SD and the MCU resource into disabled state.

The BSP_SDCard_Disconnect() will put the GPIO pins associated to the SD peripheral in analog mode to further reduce the consumption.

This documentation file has been automatically generated on Wed May 6 2020 20:45:23 by doxygen 1.8.8