HAL SMARTCARD Generic Driver
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
HAL_SMARTCARD_Receive_DMA
HAL_StatusTypeDef HAL_SMARTCARD_Receive_DMA
(SMARTCARD_HandleTypeDef * hsc, uint8_t * pData, uint16_t
Size)
Receive an amount of data in non blocking mode.
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
When the SMARTCARD parity is enabled (PCE = 1) the data
received contain the parity bit.s
HAL_SMARTCARD_Abort
HAL_StatusTypeDef HAL_SMARTCARD_Abort
(SMARTCARD_HandleTypeDef * hsc)
Abort ongoing transfers (blocking 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 (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
HAL_StatusTypeDef HAL_SMARTCARD_AbortTransmit
(SMARTCARD_HandleTypeDef * hsc)
Abort ongoing Transmit transfer (blocking mode).
This procedure could be used for aborting any ongoing
transfer started in Interrupt or DMA mode. This procedure