EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #540 background imageLoading...
Page #540 background image
HAL SMARTCARD Generic Driver
UM1940
540/1371
DocID028236 Rev 2
performs following operations : Disable PPP InterruptsDisable
the DMA transfer in the peripheral register (if enabled)Abort
DMA transfer by calling HAL_DMA_Abort (in case of transfer
in DMA mode)Set handle State to READY
This procedure is executed in blocking mode : when exiting
function, Abort is considered as completed.
HAL_SMARTCARD_AbortReceive
Function name
HAL_StatusTypeDef HAL_SMARTCARD_AbortReceive
(SMARTCARD_HandleTypeDef * hsc)
Function description
Abort ongoing Receive transfer (blocking mode).
Parameters
hsc: SMARTCARD handle.
Return values
HAL: status
Notes
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 (in case of transfer
in DMA mode)Set handle State to READY
This procedure is executed in blocking mode : when exiting
function, Abort is considered as completed.
HAL_SMARTCARD_Abort_IT
Function name
HAL_StatusTypeDef HAL_SMARTCARD_Abort_IT
(SMARTCARD_HandleTypeDef * hsc)
Function description
Abort ongoing transfers (Interrupt mode).
Parameters
hsc: SMARTCARD handle.
Return values
HAL: status
Notes
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_AbortTransmit_IT
Function name
HAL_StatusTypeDef HAL_SMARTCARD_AbortTransmit_IT
(SMARTCARD_HandleTypeDef * hsc)
Function description
Abort ongoing Transmit transfer (Interrupt mode).
Parameters
hsc: SMARTCARD handle.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals