Writes block(s) to a specified address in a card.
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
This API should be followed by a check on the card state
through HAL_SD_GetCardState().
You could also check the DMA transfer process through the
SD Tx interrupt event.
HAL_SD_IRQHandler
void HAL_SD_IRQHandler (SD_HandleTypeDef * hsd)
This function handles SD card interrupt request.
hsd: Pointer to SD handle
HAL_SD_TxCpltCallback
void HAL_SD_TxCpltCallback (SD_HandleTypeDef * hsd)
Tx Transfer completed callbacks.
hsd: Pointer to SD handle
HAL_SD_RxCpltCallback
void HAL_SD_RxCpltCallback (SD_HandleTypeDef * hsd)
Rx Transfer completed callbacks.
HAL_SD_ErrorCallback
void HAL_SD_ErrorCallback (SD_HandleTypeDef * hsd)
HAL_SD_AbortCallback
void HAL_SD_AbortCallback (SD_HandleTypeDef * hsd)