XDK API  3.6.0
Documentation
SDCARD

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.


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:53 by doxygen 1.8.8