|
STM32F479xx HAL User Manual
|
Functions | |
| static uint32_t | MMC_InitCard (MMC_HandleTypeDef *hmmc) |
| Initializes the mmc card. | |
| static uint32_t | MMC_PowerON (MMC_HandleTypeDef *hmmc) |
| Enquires cards about their operating voltage and configures clock controls and stores MMC information that will be needed in future in the MMC handle. | |
| static uint32_t | MMC_SendStatus (MMC_HandleTypeDef *hmmc, uint32_t *pCardStatus) |
| Returns the current card's status. | |
| static uint32_t | MMC_ReadExtCSD (MMC_HandleTypeDef *hmmc, uint32_t *pFieldData, uint16_t FieldIndex, uint32_t Timeout) |
| Reads extended CSD register to get the sectors number of the device. | |
| static void | MMC_PowerOFF (MMC_HandleTypeDef *hmmc) |
| Turns the SDIO output signals off. | |
| static void | MMC_Write_IT (MMC_HandleTypeDef *hmmc) |
| Wrap up writing in non-blocking mode. | |
| static void | MMC_Read_IT (MMC_HandleTypeDef *hmmc) |
| Wrap up reading in non-blocking mode. | |
| static void | MMC_DMATransmitCplt (DMA_HandleTypeDef *hdma) |
| DMA MMC transmit process complete callback. | |
| static void | MMC_DMAReceiveCplt (DMA_HandleTypeDef *hdma) |
| DMA MMC receive process complete callback. | |
| static void | MMC_DMAError (DMA_HandleTypeDef *hdma) |
| DMA MMC communication error callback. | |
| static void | MMC_DMATxAbort (DMA_HandleTypeDef *hdma) |
| DMA MMC Tx Abort callback. | |
| static void | MMC_DMARxAbort (DMA_HandleTypeDef *hdma) |
| DMA MMC Rx Abort callback. | |
| static void MMC_DMAError | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA MMC communication error callback.
| hdma,: | DMA handle |
| None |
Definition at line 2488 of file stm32f4xx_hal_mmc.c.
References HAL_DMA_ERROR_FE, HAL_DMA_ERROR_TE, HAL_DMA_GetError(), HAL_MMC_ErrorCallback(), HAL_MMC_GetCardState(), and __DMA_HandleTypeDef::Parent.
Referenced by HAL_MMC_ReadBlocks_DMA(), and HAL_MMC_WriteBlocks_DMA().
| static void MMC_DMAReceiveCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA MMC receive process complete callback.
| hdma,: | DMA handle |
| None |
Definition at line 2447 of file stm32f4xx_hal_mmc.c.
References HAL_MMC_ErrorCallback(), HAL_MMC_RxCpltCallback(), and __DMA_HandleTypeDef::Parent.
Referenced by HAL_MMC_ReadBlocks_DMA().
| static void MMC_DMARxAbort | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA MMC Rx Abort callback.
| hdma,: | DMA handle |
| None |
Definition at line 2576 of file stm32f4xx_hal_mmc.c.
References HAL_MMC_AbortCallback(), HAL_MMC_ErrorCallback(), HAL_MMC_GetCardState(), and __DMA_HandleTypeDef::Parent.
Referenced by HAL_MMC_Abort_IT(), and HAL_MMC_IRQHandler().
| static void MMC_DMATransmitCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA MMC transmit process complete callback.
| hdma,: | DMA handle |
| None |
Definition at line 2434 of file stm32f4xx_hal_mmc.c.
References __DMA_HandleTypeDef::Parent.
Referenced by HAL_MMC_WriteBlocks_DMA().
| static void MMC_DMATxAbort | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA MMC Tx Abort callback.
| hdma,: | DMA handle |
| None |
Definition at line 2531 of file stm32f4xx_hal_mmc.c.
References HAL_MMC_AbortCallback(), HAL_MMC_ErrorCallback(), HAL_MMC_GetCardState(), and __DMA_HandleTypeDef::Parent.
Referenced by HAL_MMC_Abort_IT(), and HAL_MMC_IRQHandler().
| static uint32_t MMC_InitCard | ( | MMC_HandleTypeDef * | hmmc | ) | [static] |
Initializes the mmc card.
| hmmc,: | Pointer to MMC handle |
| MMC | Card error state |
Definition at line 2621 of file stm32f4xx_hal_mmc.c.
References HAL_MMC_GetCardCSD().
Referenced by HAL_MMC_InitCard().
| static void MMC_PowerOFF | ( | MMC_HandleTypeDef * | hmmc | ) | [static] |
Turns the SDIO output signals off.
| hmmc,: | Pointer to MMC handle |
| None |
Definition at line 2757 of file stm32f4xx_hal_mmc.c.
Referenced by HAL_MMC_DeInit().
| static uint32_t MMC_PowerON | ( | MMC_HandleTypeDef * | hmmc | ) | [static] |
Enquires cards about their operating voltage and configures clock controls and stores MMC information that will be needed in future in the MMC handle.
| hmmc,: | Pointer to MMC handle |
| error | state |
Definition at line 2705 of file stm32f4xx_hal_mmc.c.
Referenced by HAL_MMC_InitCard().
| static void MMC_Read_IT | ( | MMC_HandleTypeDef * | hmmc | ) | [static] |
Wrap up reading in non-blocking mode.
| hmmc,: | pointer to a MMC_HandleTypeDef structure that contains the configuration information. |
| None |
Definition at line 2885 of file stm32f4xx_hal_mmc.c.
Referenced by HAL_MMC_IRQHandler().
| static uint32_t MMC_ReadExtCSD | ( | MMC_HandleTypeDef * | hmmc, |
| uint32_t * | pFieldData, | ||
| uint16_t | FieldIndex, | ||
| uint32_t | Timeout | ||
| ) | [static] |
Reads extended CSD register to get the sectors number of the device.
| hmmc,: | Pointer to MMC handle |
| pFieldData,: | Pointer to the read buffer |
| FieldIndex,: | Index of the field to be read |
| Timeout,: | Specify timeout value |
| HAL | status |
Definition at line 2800 of file stm32f4xx_hal_mmc.c.
References HAL_GetTick().
Referenced by HAL_MMC_GetCardCSD().
| static uint32_t MMC_SendStatus | ( | MMC_HandleTypeDef * | hmmc, |
| uint32_t * | pCardStatus | ||
| ) | [static] |
Returns the current card's status.
| hmmc,: | Pointer to MMC handle |
| pCardStatus,: | pointer to the buffer that will contain the MMC card status (Card Status register) |
| error | state |
Definition at line 2770 of file stm32f4xx_hal_mmc.c.
Referenced by HAL_MMC_GetCardState().
| static void MMC_Write_IT | ( | MMC_HandleTypeDef * | hmmc | ) | [static] |
Wrap up writing in non-blocking mode.
| hmmc,: | pointer to a MMC_HandleTypeDef structure that contains the configuration information. |
| None |
Definition at line 2924 of file stm32f4xx_hal_mmc.c.
Referenced by HAL_MMC_IRQHandler().
1.7.6.1