Clears the specified Smartcard
pending flags.
Parameters:
__HANDLE__: specifies the
SMARTCARD Handle.
__FLAG__: specifies the flag to
check. This parameter can be any
combination of the following
values:
SMARTCARD_FLAG_TC:
Transmission Complete flag.
SMARTCARD_FLAG_RXNE:
Receive data register not
empty flag.
Notes:
PE (Parity error), FE (Framing
error), NE (Noise error) and ORE
(Overrun error) flags are cleared
by software sequence: a read
operation to USART_SR register
followed by a read operation to
USART_DR register. RXNE flag
can be also cleared by a read to
the USART_DR register. TC flag
can be also cleared by software
sequence: a read operation to
USART_SR register followed by a
write operation to USART_DR
register. TXE flag is cleared only
by a write to the USART_DR
register.
Description:
Clear the SMARTCARD PE
pending flag.
Parameters:
__HANDLE__: specifies the
USART Handle. This parameter
can be USARTx where x: 1, 2, 3,
4, 5, 6, 7 or 8 to select the USART
or SMARTCARD peripheral.
Return value:
None