STM32F4xx_HAL_Driver
1.8.3
|
Header file of MMC HAL module. More...
Go to the source code of this file.
Data Structures | |
struct | HAL_MMC_CardInfoTypeDef |
MMC Card Information Structure definition. More... | |
struct | endif |
ADC handle Structure definition. More... | |
struct | HAL_MMC_CardCSDTypeDef |
struct | HAL_MMC_CardCIDTypeDef |
Typedefs | |
typedef uint32_t | HAL_MMC_CardStateTypeDef |
typedef struct __MMC_HandleTypeDef else typedef struct endif | MMC_HandleTypeDef |
MMC handle Structure definition. | |
typedef void(* | pMMC_CallbackTypeDef) (MMC_HandleTypeDef *hmmc) |
Enumerations | |
enum | HAL_MMC_CallbackIDTypeDef { HAL_MMC_TX_CPLT_CB_ID = 0x00U , HAL_MMC_RX_CPLT_CB_ID = 0x01U , HAL_MMC_ERROR_CB_ID = 0x02U , HAL_MMC_ABORT_CB_ID = 0x03U , HAL_MMC_MSP_INIT_CB_ID = 0x10U , HAL_MMC_MSP_DEINIT_CB_ID = 0x11U } |
Functions | |
HAL_StatusTypeDef | HAL_MMC_Init (MMC_HandleTypeDef *hmmc) |
Initializes the MMC according to the specified parameters in the MMC_HandleTypeDef and create the associated handle. More... | |
HAL_StatusTypeDef | HAL_MMC_InitCard (MMC_HandleTypeDef *hmmc) |
Initializes the MMC Card. More... | |
HAL_StatusTypeDef | HAL_MMC_DeInit (MMC_HandleTypeDef *hmmc) |
De-Initializes the MMC card. More... | |
void | HAL_MMC_MspInit (MMC_HandleTypeDef *hmmc) |
Initializes the MMC MSP. More... | |
void | HAL_MMC_MspDeInit (MMC_HandleTypeDef *hmmc) |
De-Initialize MMC MSP. More... | |
HAL_StatusTypeDef | HAL_MMC_ReadBlocks (MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout) |
Reads block(s) from a specified address in a card. The Data transfer is managed by polling mode. More... | |
HAL_StatusTypeDef | HAL_MMC_WriteBlocks (MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout) |
Allows to write block(s) to a specified address in a card. The Data transfer is managed by polling mode. More... | |
HAL_StatusTypeDef | HAL_MMC_Erase (MMC_HandleTypeDef *hmmc, uint32_t BlockStartAdd, uint32_t BlockEndAdd) |
Erases the specified memory area of the given MMC card. More... | |
HAL_StatusTypeDef | HAL_MMC_ReadBlocks_IT (MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks) |
Reads block(s) from a specified address in a card. The Data transfer is managed in interrupt mode. More... | |
HAL_StatusTypeDef | HAL_MMC_WriteBlocks_IT (MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks) |
Writes block(s) to a specified address in a card. The Data transfer is managed in interrupt mode. More... | |
HAL_StatusTypeDef | HAL_MMC_ReadBlocks_DMA (MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks) |
Reads block(s) from a specified address in a card. The Data transfer is managed by DMA mode. More... | |
HAL_StatusTypeDef | HAL_MMC_WriteBlocks_DMA (MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks) |
Writes block(s) to a specified address in a card. The Data transfer is managed by DMA mode. More... | |
void | HAL_MMC_IRQHandler (MMC_HandleTypeDef *hmmc) |
This function handles MMC card interrupt request. More... | |
void | HAL_MMC_TxCpltCallback (MMC_HandleTypeDef *hmmc) |
Tx Transfer completed callbacks. More... | |
void | HAL_MMC_RxCpltCallback (MMC_HandleTypeDef *hmmc) |
Rx Transfer completed callbacks. More... | |
void | HAL_MMC_ErrorCallback (MMC_HandleTypeDef *hmmc) |
MMC error callbacks. More... | |
void | HAL_MMC_AbortCallback (MMC_HandleTypeDef *hmmc) |
MMC Abort callbacks. More... | |
HAL_StatusTypeDef | HAL_MMC_RegisterCallback (MMC_HandleTypeDef *hmmc, HAL_MMC_CallbackIDTypeDef CallbackId, pMMC_CallbackTypeDef pCallback) |
Register a User MMC Callback To be used instead of the weak (surcharged) predefined callback. More... | |
HAL_StatusTypeDef | HAL_MMC_UnRegisterCallback (MMC_HandleTypeDef *hmmc, HAL_MMC_CallbackIDTypeDef CallbackId) |
Unregister a User MMC Callback MMC Callback is redirected to the weak (surcharged) predefined callback. More... | |
HAL_StatusTypeDef | HAL_MMC_ConfigWideBusOperation (MMC_HandleTypeDef *hmmc, uint32_t WideMode) |
Enables wide bus operation for the requested card if supported by card. More... | |
HAL_MMC_CardStateTypeDef | HAL_MMC_GetCardState (MMC_HandleTypeDef *hmmc) |
Gets the current mmc card data state. More... | |
HAL_StatusTypeDef | HAL_MMC_GetCardCID (MMC_HandleTypeDef *hmmc, HAL_MMC_CardCIDTypeDef *pCID) |
Returns information the information of the card which are stored on the CID register. More... | |
HAL_StatusTypeDef | HAL_MMC_GetCardCSD (MMC_HandleTypeDef *hmmc, HAL_MMC_CardCSDTypeDef *pCSD) |
Returns information the information of the card which are stored on the CSD register. More... | |
HAL_StatusTypeDef | HAL_MMC_GetCardInfo (MMC_HandleTypeDef *hmmc, HAL_MMC_CardInfoTypeDef *pCardInfo) |
Gets the MMC card info. More... | |
HAL_StatusTypeDef | HAL_MMC_GetCardExtCSD (MMC_HandleTypeDef *hmmc, uint32_t *pExtCSD, uint32_t Timeout) |
Returns information the information of the card which are stored on the Extended CSD register. More... | |
HAL_MMC_StateTypeDef | HAL_MMC_GetState (MMC_HandleTypeDef *hmmc) |
return the MMC state More... | |
uint32_t | HAL_MMC_GetError (MMC_HandleTypeDef *hmmc) |
Return the MMC error code. More... | |
HAL_StatusTypeDef | HAL_MMC_Abort (MMC_HandleTypeDef *hmmc) |
Abort the current transfer and disable the MMC. More... | |
HAL_StatusTypeDef | HAL_MMC_Abort_IT (MMC_HandleTypeDef *hmmc) |
Abort the current transfer and disable the MMC (IT mode). More... | |
Variables | |
C | |
Header file of MMC HAL module.
Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32f4xx_hal_mmc.h.
|
extern |