HAL SMARTCARD Generic Driver
This procedure could be used for aborting any ongoing
transfer started in Interrupt or DMA mode. This procedure
performs following operations : Disable PPP InterruptsDisable
the DMA transfer in the peripheral register (if enabled)Abort
DMA transfer by calling HAL_DMA_Abort_IT (in case of
transfer in DMA mode)Set handle State to READYAt abort
completion, call user abort complete callback
This procedure is executed in Interrupt mode, meaning that
abort procedure could be considered as completed only when
user abort complete callback is executed (not when exiting
function).
HAL_SMARTCARD_AbortReceive_IT
HAL_StatusTypeDef HAL_SMARTCARD_AbortReceive_IT
(SMARTCARD_HandleTypeDef * hsc)
Abort ongoing Receive transfer (Interrupt mode).
This procedure could be used for aborting any ongoing
transfer started in Interrupt or DMA mode. This procedure
performs following operations : Disable PPP InterruptsDisable
the DMA transfer in the peripheral register (if enabled)Abort
DMA transfer by calling HAL_DMA_Abort_IT (in case of
transfer in DMA mode)Set handle State to READYAt abort
completion, call user abort complete callback
This procedure is executed in Interrupt mode, meaning that
abort procedure could be considered as completed only when
user abort complete callback is executed (not when exiting
function).
HAL_SMARTCARD_IRQHandler
void HAL_SMARTCARD_IRQHandler
(SMARTCARD_HandleTypeDef * hsc)
This function handles SMARTCARD interrupt request.
hsc: pointer to a SMARTCARD_HandleTypeDef structure
that contains the configuration information for SMARTCARD
module.
HAL_SMARTCARD_TxCpltCallback
void HAL_SMARTCARD_TxCpltCallback
(SMARTCARD_HandleTypeDef * hsc)
Tx Transfer completed callbacks.
hsc: pointer to a SMARTCARD_HandleTypeDef structure
that contains the configuration information for SMARTCARD