STM3210E_EVAL BSP User Manual: Private Functions

STM3210E EVAL BSP Drivers

STM3210E_EVAL BSP User Manual
Private Functions

Functions

static void SD_MspInit (void)
 Initializes the SD MSP.
HAL_SD_ErrorTypedef SD_DMAConfigRx (SD_HandleTypeDef *hsd)
 SD_DMAConfigRx.
HAL_SD_ErrorTypedef SD_DMAConfigTx (SD_HandleTypeDef *hsd)
 SD_DMAConfigTx.

Function Documentation

HAL_SD_ErrorTypedef SD_DMAConfigRx ( SD_HandleTypeDef *  hsd)

SD_DMAConfigRx.

Function Description
This function configure the DMA to receive data from the SD card
Return values:
SD_ERRORor SD_OK

Definition at line 465 of file stm3210e_eval_sd.c.

References SD_DMAx_Rx_INSTANCE, and SD_DMAx_Rx_IRQn.

Referenced by BSP_SD_ReadBlocks_DMA().

HAL_SD_ErrorTypedef SD_DMAConfigTx ( SD_HandleTypeDef *  hsd)

SD_DMAConfigTx.

Function Description
This function configure the DMA to transmit data to the SD card
Return values:
SD_ERRORor SD_OK

Definition at line 513 of file stm3210e_eval_sd.c.

References SD_DMAx_Tx_INSTANCE, and SD_DMAx_Tx_IRQn.

Referenced by BSP_SD_WriteBlocks_DMA().

static void SD_MspInit ( void  ) [static]

Initializes the SD MSP.

Return values:
None

Definition at line 415 of file stm3210e_eval_sd.c.

References __DMAx_TxRx_CLK_ENABLE, __SD_DETECT_GPIO_CLK_ENABLE, SD_DETECT_GPIO_PORT, and SD_DETECT_PIN.

Referenced by BSP_SD_Init().

Generated on Thu Dec 10 2015 17:39:43 for STM3210E_EVAL BSP User Manual by   doxygen 1.7.6.1