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 #539 background imageLoading...
Page #539 background image
UM1940
HAL SMARTCARD Generic Driver
DocID028236 Rev 2
539/1371
Parameters
hsc: pointer to a SMARTCARD_HandleTypeDef structure
that contains the configuration information for SMARTCARD
module.
pData: pointer to data buffer
Size: amount of data to be sent
Return values
HAL: status
HAL_SMARTCARD_Receive_DMA
Function name
HAL_StatusTypeDef HAL_SMARTCARD_Receive_DMA
(SMARTCARD_HandleTypeDef * hsc, uint8_t * pData, uint16_t
Size)
Function description
Receive an amount of data in non blocking mode.
Parameters
hsc: pointer to a SMARTCARD_HandleTypeDef structure
that contains the configuration information for SMARTCARD
module.
pData: pointer to data buffer
Size: amount of data to be received
Return values
HAL: status
Notes
When the SMARTCARD parity is enabled (PCE = 1) the data
received contain the parity bit.s
HAL_SMARTCARD_Abort
Function name
HAL_StatusTypeDef HAL_SMARTCARD_Abort
(SMARTCARD_HandleTypeDef * hsc)
Function description
Abort ongoing transfers (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_AbortTransmit
Function name
HAL_StatusTypeDef HAL_SMARTCARD_AbortTransmit
(SMARTCARD_HandleTypeDef * hsc)
Function description
Abort ongoing Transmit 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

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