Download Print this page

ST STM32F301 6 Series Reference Manual page 771

Advanced arm-based 32-bit mcus

Advertisement

RM0366
Bits 31:26 Reserved, must be kept at reset value.
Bit 25 TCBGT: Transmission complete before guard time completion.
Note: If the USART does not support the smartcard mode, this bit is reserved and must be
Bits 24:23 Reserved, must be kept at reset value.
Bit 22 REACK: Receive enable acknowledge flag
Bit 21 TEACK: Transmit enable acknowledge flag
Bit 20 WUF: Wake-up from Stop mode flag
This bit is set by hardware, when a wake-up event is detected. The event is defined by the
WUS bit field. It is cleared by software, writing a 1 to the WUCF in the USART_ICR register.
An interrupt is generated if WUFIE=1 in the USART_CR3 register.
Note: When UESM is cleared, WUF flag is also cleared.
Bit 19 RWU: Receiver wake-up from mute mode
Bit 18 SBKF: Send break flag
Universal synchronous/asynchronous receiver transmitter (USART/UART)
This bit is used in smartcard mode. It is set by hardware if the transmission of a frame
containing data has completed successfully (no NACK received from the card) and before
the guard time has elapsed (contrary to the TC flag which is set when the guard time has
elapsed).
An interrupt is generated if TCBGTIE=1 in USART_CR3 register. It is cleared by software,
by writing 1 to TCBGTCF in USART_ICR or by writing to the USART_TDR register.
0: Transmission not complete or transmission completed with error (i.e. NACK received from
the card)
1: Transmission complete (before Guard time has elapsed and no NACK received from the
smartcard).
kept at reset value. If the USART supports the smartcard mode and the smartcard
mode is enabled, the TCBGT reset value is 1.
This bit is set/reset by hardware, when the Receive Enable value is taken into account by
the USART.
When the wake-up from Stop mode is supported, the REACK flag can be used to verify that
the USART is ready for reception before entering Stop mode.
This bit is set/reset by hardware, when the Transmit Enable value is taken into account by
the USART.
It can be used when an idle frame request is generated by writing TE=0, followed by TE=1
in the USART_CR1 register, in order to respect the TE=0 minimum period.
The WUF interrupt is active only in Stop mode.
If the USART does not support the wake-up from Stop feature, this bit is reserved and
kept at reset value.
This bit indicates if the USART is in mute mode. It is cleared/set by hardware when a wake-
up/mute sequence is recognized. The mute mode control sequence (address or IDLE) is
selected by the WAKE bit in the USART_CR1 register.
When wake-up on Idle mode is selected, this bit can only be set by software, writing 1 to the
MMRQ bit in the USART_RQR register.
0: Receiver in active mode
1: Receiver in mute mode
This bit indicates that a send break character was requested. It is set by software, by writing
1 to the SBKRQ bit in the USART_RQR register. It is automatically reset by hardware during
the stop bit of break transmission.
0: No break character is transmitted
1: Break character is transmitted
RM0366 Rev 5
771/874
779

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series