HAL
HAL_MMC_WriteBlocks() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_MMC_WriteBlocks() function

Allows to write block(s) to a specified address in a card. The Data transfer is managed by polling mode.

Syntax

HAL_StatusTypeDef HAL_MMC_WriteBlocks(MMC_HandleTypeDef *hmmc,     uint8_t *pData,     uint32_t BlockAdd,     uint32_t NumberOfBlocks,     uint32_t Timeout);
Implemented in stm32f4xx_hal_mmc.c:805

Arguments

hmmc

Pointer to MMC handle

pData

pointer to the buffer that will contain the data to transmit

BlockAdd

Block Address where data will be written

NumberOfBlocks

Number of MMC blocks to write

Timeout

Specify timeout value

Return value

HAL status

Notes

This API should be followed by a check on the card state through HAL_MMC_GetCardState().

References

LocationText
stm32f4xx_hal_mmc.c:805
HAL_StatusTypeDef HAL_MMC_WriteBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout)
stm32f4xx_hal_mmc.h:601
HAL_StatusTypeDef HAL_MMC_WriteBlocks(MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Timeout);

Call Tree

Functions called by HAL_MMC_WriteBlocks()
HAL_MMC_WriteBlocks()
Type of HAL_MMC_WriteBlocks()
HAL_MMC_WriteBlocks()
uint8_t
uint32_t
all items filtered out