stm32f4xx_hal_mmc.h
Go to the documentation of this file.
1 
20 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef STM32F4xx_HAL_MMC_H
22 #define STM32F4xx_HAL_MMC_H
23 
24 #if defined(SDIO)
25 
26 #ifdef __cplusplus
27  extern "C" {
28 #endif
29 
30 /* Includes ------------------------------------------------------------------*/
31 #include "stm32f4xx_ll_sdmmc.h"
32 
41 /* Exported types ------------------------------------------------------------*/
49 typedef enum
50 {
51  HAL_MMC_STATE_RESET = 0x00000000U,
52  HAL_MMC_STATE_READY = 0x00000001U,
53  HAL_MMC_STATE_TIMEOUT = 0x00000002U,
54  HAL_MMC_STATE_BUSY = 0x00000003U,
55  HAL_MMC_STATE_PROGRAMMING = 0x00000004U,
56  HAL_MMC_STATE_RECEIVING = 0x00000005U,
57  HAL_MMC_STATE_TRANSFER = 0x00000006U,
58  HAL_MMC_STATE_ERROR = 0x0000000FU
67 typedef uint32_t HAL_MMC_CardStateTypeDef;
68 
69 #define HAL_MMC_CARD_READY 0x00000001U
70 #define HAL_MMC_CARD_IDENTIFICATION 0x00000002U
71 #define HAL_MMC_CARD_STANDBY 0x00000003U
72 #define HAL_MMC_CARD_TRANSFER 0x00000004U
73 #define HAL_MMC_CARD_SENDING 0x00000005U
74 #define HAL_MMC_CARD_RECEIVING 0x00000006U
75 #define HAL_MMC_CARD_PROGRAMMING 0x00000007U
76 #define HAL_MMC_CARD_DISCONNECTED 0x00000008U
77 #define HAL_MMC_CARD_ERROR 0x000000FFU
85 #define MMC_InitTypeDef SDIO_InitTypeDef
86 #define MMC_TypeDef SDIO_TypeDef
87 
91 typedef struct
92 {
93  uint32_t CardType;
95  uint32_t Class;
97  uint32_t RelCardAdd;
99  uint32_t BlockNbr;
101  uint32_t BlockSize;
103  uint32_t LogBlockNbr;
105  uint32_t LogBlockSize;
108 
112 #if defined (USE_HAL_MMC_REGISTER_CALLBACKS) && (USE_HAL_MMC_REGISTER_CALLBACKS == 1U)
113 typedef struct __MMC_HandleTypeDef
114 #else
115 typedef struct
116 #endif /* USE_HAL_MMC_REGISTER_CALLBACKS */
117 {
118  MMC_TypeDef *Instance;
122  HAL_LockTypeDef Lock;
124  uint8_t *pTxBuffPtr;
126  uint32_t TxXferSize;
128  uint8_t *pRxBuffPtr;
130  uint32_t RxXferSize;
132  __IO uint32_t Context;
134  __IO HAL_MMC_StateTypeDef State;
136  __IO uint32_t ErrorCode;
138  DMA_HandleTypeDef *hdmarx;
140  DMA_HandleTypeDef *hdmatx;
142  HAL_MMC_CardInfoTypeDef MmcCard;
144  uint32_t CSD[4U];
146  uint32_t CID[4U];
148 #if defined (USE_HAL_MMC_REGISTER_CALLBACKS) && (USE_HAL_MMC_REGISTER_CALLBACKS == 1U)
149  void (* TxCpltCallback) (struct __MMC_HandleTypeDef *hmmc);
150  void (* RxCpltCallback) (struct __MMC_HandleTypeDef *hmmc);
151  void (* ErrorCallback) (struct __MMC_HandleTypeDef *hmmc);
152  void (* AbortCpltCallback) (struct __MMC_HandleTypeDef *hmmc);
153 
154  void (* MspInitCallback) (struct __MMC_HandleTypeDef *hmmc);
155  void (* MspDeInitCallback) (struct __MMC_HandleTypeDef *hmmc);
156 #endif
158 
166 typedef struct
167 {
168  __IO uint8_t CSDStruct;
169  __IO uint8_t SysSpecVersion;
170  __IO uint8_t Reserved1;
171  __IO uint8_t TAAC;
172  __IO uint8_t NSAC;
173  __IO uint8_t MaxBusClkFrec;
174  __IO uint16_t CardComdClasses;
175  __IO uint8_t RdBlockLen;
176  __IO uint8_t PartBlockRead;
177  __IO uint8_t WrBlockMisalign;
178  __IO uint8_t RdBlockMisalign;
179  __IO uint8_t DSRImpl;
180  __IO uint8_t Reserved2;
181  __IO uint32_t DeviceSize;
182  __IO uint8_t MaxRdCurrentVDDMin;
183  __IO uint8_t MaxRdCurrentVDDMax;
184  __IO uint8_t MaxWrCurrentVDDMin;
185  __IO uint8_t MaxWrCurrentVDDMax;
186  __IO uint8_t DeviceSizeMul;
187  __IO uint8_t EraseGrSize;
188  __IO uint8_t EraseGrMul;
189  __IO uint8_t WrProtectGrSize;
190  __IO uint8_t WrProtectGrEnable;
191  __IO uint8_t ManDeflECC;
192  __IO uint8_t WrSpeedFact;
193  __IO uint8_t MaxWrBlockLen;
194  __IO uint8_t WriteBlockPaPartial;
195  __IO uint8_t Reserved3;
196  __IO uint8_t ContentProtectAppli;
197  __IO uint8_t FileFormatGroup;
198  __IO uint8_t CopyFlag;
199  __IO uint8_t PermWrProtect;
200  __IO uint8_t TempWrProtect;
201  __IO uint8_t FileFormat;
202  __IO uint8_t ECC;
203  __IO uint8_t CSD_CRC;
204  __IO uint8_t Reserved4;
214 typedef struct
215 {
216  __IO uint8_t ManufacturerID;
217  __IO uint16_t OEM_AppliID;
218  __IO uint32_t ProdName1;
219  __IO uint8_t ProdName2;
220  __IO uint8_t ProdRev;
221  __IO uint32_t ProdSN;
222  __IO uint8_t Reserved1;
223  __IO uint16_t ManufactDate;
224  __IO uint8_t CID_CRC;
225  __IO uint8_t Reserved2;
232 #if defined (USE_HAL_MMC_REGISTER_CALLBACKS) && (USE_HAL_MMC_REGISTER_CALLBACKS == 1U)
233 
236 typedef enum
237 {
238  HAL_MMC_TX_CPLT_CB_ID = 0x00U,
239  HAL_MMC_RX_CPLT_CB_ID = 0x01U,
240  HAL_MMC_ERROR_CB_ID = 0x02U,
241  HAL_MMC_ABORT_CB_ID = 0x03U,
243  HAL_MMC_MSP_INIT_CB_ID = 0x10U,
244  HAL_MMC_MSP_DEINIT_CB_ID = 0x11U
245 }HAL_MMC_CallbackIDTypeDef;
253 typedef void (*pMMC_CallbackTypeDef) (MMC_HandleTypeDef *hmmc);
257 #endif
258 
262 /* Exported constants --------------------------------------------------------*/
267 #define MMC_BLOCKSIZE 512U
272 #define HAL_MMC_ERROR_NONE SDMMC_ERROR_NONE
273 #define HAL_MMC_ERROR_CMD_CRC_FAIL SDMMC_ERROR_CMD_CRC_FAIL
274 #define HAL_MMC_ERROR_DATA_CRC_FAIL SDMMC_ERROR_DATA_CRC_FAIL
275 #define HAL_MMC_ERROR_CMD_RSP_TIMEOUT SDMMC_ERROR_CMD_RSP_TIMEOUT
276 #define HAL_MMC_ERROR_DATA_TIMEOUT SDMMC_ERROR_DATA_TIMEOUT
277 #define HAL_MMC_ERROR_TX_UNDERRUN SDMMC_ERROR_TX_UNDERRUN
278 #define HAL_MMC_ERROR_RX_OVERRUN SDMMC_ERROR_RX_OVERRUN
279 #define HAL_MMC_ERROR_ADDR_MISALIGNED SDMMC_ERROR_ADDR_MISALIGNED
280 #define HAL_MMC_ERROR_BLOCK_LEN_ERR SDMMC_ERROR_BLOCK_LEN_ERR
282 #define HAL_MMC_ERROR_ERASE_SEQ_ERR SDMMC_ERROR_ERASE_SEQ_ERR
283 #define HAL_MMC_ERROR_BAD_ERASE_PARAM SDMMC_ERROR_BAD_ERASE_PARAM
284 #define HAL_MMC_ERROR_WRITE_PROT_VIOLATION SDMMC_ERROR_WRITE_PROT_VIOLATION
285 #define HAL_MMC_ERROR_LOCK_UNLOCK_FAILED SDMMC_ERROR_LOCK_UNLOCK_FAILED
287 #define HAL_MMC_ERROR_COM_CRC_FAILED SDMMC_ERROR_COM_CRC_FAILED
288 #define HAL_MMC_ERROR_ILLEGAL_CMD SDMMC_ERROR_ILLEGAL_CMD
289 #define HAL_MMC_ERROR_CARD_ECC_FAILED SDMMC_ERROR_CARD_ECC_FAILED
290 #define HAL_MMC_ERROR_CC_ERR SDMMC_ERROR_CC_ERR
291 #define HAL_MMC_ERROR_GENERAL_UNKNOWN_ERR SDMMC_ERROR_GENERAL_UNKNOWN_ERR
292 #define HAL_MMC_ERROR_STREAM_READ_UNDERRUN SDMMC_ERROR_STREAM_READ_UNDERRUN
293 #define HAL_MMC_ERROR_STREAM_WRITE_OVERRUN SDMMC_ERROR_STREAM_WRITE_OVERRUN
294 #define HAL_MMC_ERROR_CID_CSD_OVERWRITE SDMMC_ERROR_CID_CSD_OVERWRITE
295 #define HAL_MMC_ERROR_WP_ERASE_SKIP SDMMC_ERROR_WP_ERASE_SKIP
296 #define HAL_MMC_ERROR_CARD_ECC_DISABLED SDMMC_ERROR_CARD_ECC_DISABLED
297 #define HAL_MMC_ERROR_ERASE_RESET SDMMC_ERROR_ERASE_RESET
299 #define HAL_MMC_ERROR_AKE_SEQ_ERR SDMMC_ERROR_AKE_SEQ_ERR
300 #define HAL_MMC_ERROR_INVALID_VOLTRANGE SDMMC_ERROR_INVALID_VOLTRANGE
301 #define HAL_MMC_ERROR_ADDR_OUT_OF_RANGE SDMMC_ERROR_ADDR_OUT_OF_RANGE
302 #define HAL_MMC_ERROR_REQUEST_NOT_APPLICABLE SDMMC_ERROR_REQUEST_NOT_APPLICABLE
303 #define HAL_MMC_ERROR_PARAM SDMMC_ERROR_INVALID_PARAMETER
304 #define HAL_MMC_ERROR_UNSUPPORTED_FEATURE SDMMC_ERROR_UNSUPPORTED_FEATURE
305 #define HAL_MMC_ERROR_BUSY SDMMC_ERROR_BUSY
306 #define HAL_MMC_ERROR_DMA SDMMC_ERROR_DMA
307 #define HAL_MMC_ERROR_TIMEOUT SDMMC_ERROR_TIMEOUT
309 #if defined (USE_HAL_MMC_REGISTER_CALLBACKS) && (USE_HAL_MMC_REGISTER_CALLBACKS == 1U)
310 #define HAL_MMC_ERROR_INVALID_CALLBACK SDMMC_ERROR_INVALID_PARAMETER
311 #endif
312 
319 #define MMC_CONTEXT_NONE 0x00000000U
320 #define MMC_CONTEXT_READ_SINGLE_BLOCK 0x00000001U
321 #define MMC_CONTEXT_READ_MULTIPLE_BLOCK 0x00000002U
322 #define MMC_CONTEXT_WRITE_SINGLE_BLOCK 0x00000010U
323 #define MMC_CONTEXT_WRITE_MULTIPLE_BLOCK 0x00000020U
324 #define MMC_CONTEXT_IT 0x00000008U
325 #define MMC_CONTEXT_DMA 0x00000080U
337 #define MMC_HIGH_VOLTAGE_RANGE 0x80FF8000U
338 #define MMC_DUAL_VOLTAGE_RANGE 0x80FF8080U
339 #define eMMC_HIGH_VOLTAGE_RANGE 0xC0FF8000U
340 #define eMMC_DUAL_VOLTAGE_RANGE 0xC0FF8080U
341 #define MMC_INVALID_VOLTAGE_RANGE 0x0001FF01U
342 
349 #define MMC_LOW_CAPACITY_CARD 0x00000000U
350 #define MMC_HIGH_CAPACITY_CARD 0x00000001U
360 /* Exported macro ------------------------------------------------------------*/
361 
369 #if defined (USE_HAL_MMC_REGISTER_CALLBACKS) && (USE_HAL_MMC_REGISTER_CALLBACKS == 1U)
370 #define __HAL_MMC_RESET_HANDLE_STATE(__HANDLE__) do { \
371  (__HANDLE__)->State = HAL_MMC_STATE_RESET; \
372  (__HANDLE__)->MspInitCallback = NULL; \
373  (__HANDLE__)->MspDeInitCallback = NULL; \
374  } while(0)
375 #else
376 #define __HAL_MMC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_MMC_STATE_RESET)
377 #endif
378 
383 #define __HAL_MMC_ENABLE(__HANDLE__) __SDIO_ENABLE((__HANDLE__)->Instance)
384 
389 #define __HAL_MMC_DISABLE(__HANDLE__) __SDIO_DISABLE((__HANDLE__)->Instance)
390 
395 #define __HAL_MMC_DMA_ENABLE(__HANDLE__) __SDIO_DMA_ENABLE((__HANDLE__)->Instance)
396 
401 #define __HAL_MMC_DMA_DISABLE(__HANDLE__) __SDIO_DMA_DISABLE((__HANDLE__)->Instance)
402 
432 #define __HAL_MMC_ENABLE_IT(__HANDLE__, __INTERRUPT__) __SDIO_ENABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__))
433 
463 #define __HAL_MMC_DISABLE_IT(__HANDLE__, __INTERRUPT__) __SDIO_DISABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__))
464 
494 #define __HAL_MMC_GET_FLAG(__HANDLE__, __FLAG__) __SDIO_GET_FLAG((__HANDLE__)->Instance, (__FLAG__))
495 
514 #define __HAL_MMC_CLEAR_FLAG(__HANDLE__, __FLAG__) __SDIO_CLEAR_FLAG((__HANDLE__)->Instance, (__FLAG__))
515 
545 #define __HAL_MMC_GET_IT(__HANDLE__, __INTERRUPT__) __SDIO_GET_IT((__HANDLE__)->Instance, (__INTERRUPT__))
546 
569 #define __HAL_MMC_CLEAR_IT(__HANDLE__, __INTERRUPT__) __SDIO_CLEAR_IT((__HANDLE__)->Instance, (__INTERRUPT__))
570 
575 /* Exported functions --------------------------------------------------------*/
588 
596 /* Blocking mode: Polling */
597 HAL_StatusTypeDef HAL_MMC_ReadBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout);
598 HAL_StatusTypeDef HAL_MMC_WriteBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout);
599 HAL_StatusTypeDef HAL_MMC_Erase(MMC_HandleTypeDef *hmmc, uint32_t BlockStartAdd, uint32_t BlockEndAdd);
600 /* Non-Blocking mode: IT */
601 HAL_StatusTypeDef HAL_MMC_ReadBlocks_IT(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks);
602 HAL_StatusTypeDef HAL_MMC_WriteBlocks_IT(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks);
603 /* Non-Blocking mode: DMA */
604 HAL_StatusTypeDef HAL_MMC_ReadBlocks_DMA(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks);
605 HAL_StatusTypeDef HAL_MMC_WriteBlocks_DMA(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks);
606 
608 
609 /* Callback in non blocking modes (DMA) */
614 
615 #if defined (USE_HAL_MMC_REGISTER_CALLBACKS) && (USE_HAL_MMC_REGISTER_CALLBACKS == 1U)
616 /* MMC callback registering/unregistering */
617 HAL_StatusTypeDef HAL_MMC_RegisterCallback (MMC_HandleTypeDef *hmmc, HAL_MMC_CallbackIDTypeDef CallbackId, pMMC_CallbackTypeDef pCallback);
618 HAL_StatusTypeDef HAL_MMC_UnRegisterCallback(MMC_HandleTypeDef *hmmc, HAL_MMC_CallbackIDTypeDef CallbackId);
619 #endif
620 
647 uint32_t HAL_MMC_GetError(MMC_HandleTypeDef *hmmc);
661 /* Private types -------------------------------------------------------------*/
670 /* Private defines -----------------------------------------------------------*/
679 /* Private variables ---------------------------------------------------------*/
688 /* Private constants ---------------------------------------------------------*/
697 /* Private macros ------------------------------------------------------------*/
706 /* Private functions prototypes ----------------------------------------------*/
715 /* Private functions ---------------------------------------------------------*/
737 #ifdef __cplusplus
738 }
739 #endif
740 
741 #endif /* SDIO */
742 
743 #endif /* STM32F4xx_HAL_MMC_H */
744 
745 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
HAL_MMC_STATE_RECEIVING
@ HAL_MMC_STATE_RECEIVING
Definition: stm32h7xx_hal_mmc.h:54
HAL_MMC_CardStateTypeDef
uint32_t HAL_MMC_CardStateTypeDef
Definition: stm32h7xx_hal_mmc.h:65
__IO
#define __IO
Definition: imxrt1050/imxrt1050-evkb/CMSIS/core_cm7.h:237
Init
napi_value Init(napi_env env, napi_value exports)
Definition: porcupine/demo/c/pvrecorder/node/pv_recorder_napi.c:197
HAL_StatusTypeDef
HAL_StatusTypeDef
HAL Status structures definition
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:40
HAL_MMC_ConfigWideBusOperation
HAL_StatusTypeDef HAL_MMC_ConfigWideBusOperation(MMC_HandleTypeDef *hmmc, uint32_t WideMode)
HAL_MMC_STATE_TIMEOUT
@ HAL_MMC_STATE_TIMEOUT
Definition: stm32h7xx_hal_mmc.h:51
__DMA_HandleTypeDef
DMA handle Structure definition.
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:139
HAL_MMC_ErrorCallback
void HAL_MMC_ErrorCallback(MMC_HandleTypeDef *hmmc)
HAL_MMC_DeInit
HAL_StatusTypeDef HAL_MMC_DeInit(MMC_HandleTypeDef *hmmc)
HAL_MMC_IRQHandler
void HAL_MMC_IRQHandler(MMC_HandleTypeDef *hmmc)
HAL_MMC_GetCardCSD
HAL_StatusTypeDef HAL_MMC_GetCardCSD(MMC_HandleTypeDef *hmmc, HAL_MMC_CardCSDTypeDef *pCSD)
HAL_MMC_CardCSDTypeDef
Definition: stm32h7xx_hal_mmc.h:167
HAL_MMC_InitCard
HAL_StatusTypeDef HAL_MMC_InitCard(MMC_HandleTypeDef *hmmc)
HAL_MMC_TxCpltCallback
void HAL_MMC_TxCpltCallback(MMC_HandleTypeDef *hmmc)
HAL_MMC_ReadBlocks_IT
HAL_StatusTypeDef HAL_MMC_ReadBlocks_IT(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks)
HAL_MMC_Erase
HAL_StatusTypeDef HAL_MMC_Erase(MMC_HandleTypeDef *hmmc, uint32_t BlockStartAdd, uint32_t BlockEndAdd)
HAL_MMC_RxCpltCallback
void HAL_MMC_RxCpltCallback(MMC_HandleTypeDef *hmmc)
HAL_LockTypeDef
HAL_LockTypeDef
HAL Lock structures definition
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:51
HAL_MMC_ReadBlocks
HAL_StatusTypeDef HAL_MMC_ReadBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout)
HAL_MMC_GetCardInfo
HAL_StatusTypeDef HAL_MMC_GetCardInfo(MMC_HandleTypeDef *hmmc, HAL_MMC_CardInfoTypeDef *pCardInfo)
HAL_MMC_STATE_PROGRAMMING
@ HAL_MMC_STATE_PROGRAMMING
Definition: stm32h7xx_hal_mmc.h:53
HAL_MMC_Abort_IT
HAL_StatusTypeDef HAL_MMC_Abort_IT(MMC_HandleTypeDef *hmmc)
HAL_MMC_CardCIDTypeDef
Definition: stm32h7xx_hal_mmc.h:215
HAL_MMC_StateTypeDef
HAL_MMC_StateTypeDef
Definition: stm32h7xx_hal_mmc.h:47
HAL_MMC_GetState
HAL_MMC_StateTypeDef HAL_MMC_GetState(MMC_HandleTypeDef *hmmc)
HAL_MMC_MspInit
void HAL_MMC_MspInit(MMC_HandleTypeDef *hmmc)
HAL_MMC_GetError
uint32_t HAL_MMC_GetError(MMC_HandleTypeDef *hmmc)
HAL_MMC_WriteBlocks
HAL_StatusTypeDef HAL_MMC_WriteBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout)
MMC_HandleTypeDef
MMC handle Structure definition.
Definition: stm32h7xx_hal_mmc.h:113
HAL_MMC_STATE_RESET
@ HAL_MMC_STATE_RESET
Definition: stm32h7xx_hal_mmc.h:49
HAL_MMC_AbortCallback
void HAL_MMC_AbortCallback(MMC_HandleTypeDef *hmmc)
HAL_MMC_WriteBlocks_DMA
HAL_StatusTypeDef HAL_MMC_WriteBlocks_DMA(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks)
HAL_MMC_STATE_READY
@ HAL_MMC_STATE_READY
Definition: stm32h7xx_hal_mmc.h:50
HAL_MMC_Abort
HAL_StatusTypeDef HAL_MMC_Abort(MMC_HandleTypeDef *hmmc)
HAL_MMC_MspDeInit
void HAL_MMC_MspDeInit(MMC_HandleTypeDef *hmmc)
HAL_MMC_CardInfoTypeDef
MMC Card Information Structure definition.
Definition: stm32h7xx_hal_mmc.h:89
HAL_MMC_STATE_ERROR
@ HAL_MMC_STATE_ERROR
Definition: stm32h7xx_hal_mmc.h:56
HAL_MMC_Init
HAL_StatusTypeDef HAL_MMC_Init(MMC_HandleTypeDef *hmmc)
HAL_MMC_STATE_TRANSFER
@ HAL_MMC_STATE_TRANSFER
Definition: stm32h7xx_hal_mmc.h:55
MMC_InitTypeDef
#define MMC_InitTypeDef
Definition: stm32h7xx_hal_mmc.h:83
HAL_MMC_GetCardState
HAL_MMC_CardStateTypeDef HAL_MMC_GetCardState(MMC_HandleTypeDef *hmmc)
HAL_MMC_ReadBlocks_DMA
HAL_StatusTypeDef HAL_MMC_ReadBlocks_DMA(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks)
HAL_MMC_WriteBlocks_IT
HAL_StatusTypeDef HAL_MMC_WriteBlocks_IT(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks)
HAL_MMC_GetCardCID
HAL_StatusTypeDef HAL_MMC_GetCardCID(MMC_HandleTypeDef *hmmc, HAL_MMC_CardCIDTypeDef *pCID)
HAL_MMC_STATE_BUSY
@ HAL_MMC_STATE_BUSY
Definition: stm32h7xx_hal_mmc.h:52
MMC_TypeDef
#define MMC_TypeDef
Definition: stm32h7xx_hal_mmc.h:84


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:52