![Geehy SEMICONDUCTOR APM32F030x4x6x8xC Скачать руководство пользователя страница 260](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f030x4x6x8xc/apm32f030x4x6x8xc_user-manual_573629260.webp)
www.geehy.com Page 259
Figure 100 USART Interrupt Mapping
TXBEFLG
TXBEIEN
TXCFLG
TXCIEN
CTSFLG
CTSIEN
RXBNEFLG
OVREFLG
IDLEFLG
IDLEIEN
PEFLG
PEIEN
NEFLG
OVREFLG
FEFLG
ERRIEN
USART
interrupt
Transmit interrupt
Receive interrupt
Or
Or
RXBNEIEN
CMFLG
CMIEN
RXTOFLG
RXTOIEN
Comparison of USART Supporting Functions
Table 68 Comparison of USART Supporting Functions
USART mode
USART1 USART2 USART3 USART4 USART5 USART6
Hardware flow control
√
√
√
√
—
—
Multi-buffer communication
(DMA)
√
√
√
√
√
√
Multi-processor communication
√
√
√
√
√
√
Synchronous
√
√
√
√
√
—
Half duplex (single-line mode)
√
√
√
√
√
√
Receiving timeout interrupt
√
√
√
—
—
—
Support the automatic baud rate
detection mode
2
4
4
—
—
—
Note:
(
1
)
"
√
" means this function is supported, while "
—" means that this function is not supported.
(
2
)
Receiver timeout interrupt and USART2 and USART3 supporting automatic baud rate
detection are supported only by APM32F030xC.
21.5
Register Address Mapping
Table 69 USART Register Address Mapping
Register name
Description
Offset address
USART_CTRL1
Control register 1
0x00
USART_CTRL2
Control register 2
0x04