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

HAL_SD_WriteBlocks_IT() function

Writes block(s) to a specified address in a card. The Data transfer is managed in interrupt mode.

Syntax

HAL_StatusTypeDef HAL_SD_WriteBlocks_IT(SD_HandleTypeDef *hsd,     uint8_t *pData,     uint32_t BlockAdd,     uint32_t NumberOfBlocks);
Implemented in stm32f4xx_hal_sd.c:1077

Arguments

hsd

Pointer to SD handle

pData

Pointer to the buffer that will contain the data to transmit

BlockAdd

Block Address where data will be written

NumberOfBlocks

Number of blocks to write

Return value

HAL status

Notes

This API should be followed by a check on the card state through HAL_SD_GetCardState(). You could also check the IT transfer process through the SD Tx interrupt event.

References

LocationText
stm32f4xx_hal_sd.c:1077
HAL_StatusTypeDef HAL_SD_WriteBlocks_IT(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks)
stm32f4xx_hal_sd.h:613
HAL_StatusTypeDef HAL_SD_WriteBlocks_IT(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks);