Download Print this page

ST STM32F301 6 Series Reference Manual page 772

Advanced arm-based 32-bit mcus

Advertisement

Universal synchronous/asynchronous receiver transmitter (USART/UART)
Bit 17 CMF: Character match flag
Bit 16 BUSY: Busy flag
Bit 15 ABRF: Auto baud rate flag
Note: If the USART does not support the auto baud rate feature, this bit is reserved and kept
Bit 14 ABRE: Auto baud rate error
Note: If the USART does not support the auto baud rate feature, this bit is reserved and kept
Bit 13 Reserved, must be kept at reset value.
Bit 12 EOBF: End of block flag
Note: If smartcard mode is not supported, this bit is reserved and kept at reset value. Please
772/874
This bit is set by hardware, when the character defined by ADD[7:0] is received. It is cleared
by software, writing 1 to the CMCF in the USART_ICR register.
An interrupt is generated if CMIE=1in the USART_CR1 register.
0: No Character match detected
1: Character Match detected
This bit is set and reset by hardware. It is active when a communication is ongoing on the
RX line (successful start bit detected). It is reset at the end of the reception (successful or
not).
0: USART is idle (no reception)
1: Reception on going
This bit is set by hardware when the automatic baud rate has been set (RXNE will also be
set, generating an interrupt if RXNEIE = 1) or when the auto baud rate operation was
completed without success (ABRE=1) (ABRE, RXNE and FE are also set in this case)
It is cleared by software, in order to request a new auto baud rate detection, by writing 1 to
the ABRRQ in the USART_RQR register.
at reset value.
This bit is set by hardware if the baud rate measurement failed (baud rate out of range or
character comparison failed)
It is cleared by software, by writing 1 to the ABRRQ bit in the USART_RQR register.
at reset value.
This bit is set by hardware when a complete block has been received (for example T=1
smartcard mode). The detection is done when the number of received bytes (from the start
of the block, including the prologue) is equal or greater than BLEN + 4.
An interrupt is generated if EOBIE = 1 in the USART_CR1 register.
It is cleared by software, writing 1 to EOBCF in the USART_ICR register.
0: End of Block not reached
1: End of Block (number of characters) reached
refer to
Section 26.4: USART implementation on page
RM0366 Rev 5
RM0366
714.

Advertisement

loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series