![GigaDevice Semiconductor GD32F10 Series Скачать руководство пользователя страница 444](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f10-series/gd32f10-series_user-manual_2225800444.webp)
GD32F10x User Manual
444
16.4.
Register definition
USART0 base address: 0x4001 3800
USART1 base address: 0x4000 4400
USART2 base address: 0x4000 4800
UART3 base address: 0x4000 4C00
UART4 base address: 0x4000 5000
16.4.1.
Status register (USART_STAT)
Address offset: 0x00
Reset value: 0x0000 00C0
This register has to be accessed by word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
CTSF
LBDF
TBE
TC
RBNE
IDLEF
ORERR
NERR
FERR
PERR
rc_w0
rc_w0
r
rc_w0
rc_w0
r
r
r
r
r
Bits
Fields
Descriptions
31:10
Reserved
Must be kept at reset value.
9
CTSF
CTS change flag
If CTSEN bit in USART_CTL2 is set, this bit is set by hardware when the nCTS input
toggles. An interrupt occurs if the CTSIE bit in USART_CTL2 is set.
Software can clear this bit by writing 0 to it.
0: The status of the nCTS line does not change.
1: The status of the nCTS line has changed.
This bit is not available for UART3/4.
8
LBDF
LIN break detected flag
If LMEN bit in USART_CTL1 is set, this bit is set by hardware when LIN break is
detected. An interrupt occurs if the LBDIE bit in USART_CTL1 is set.
Software can clear this bit by writing 0 to it.
0: The USART does not detect a LIN break.
1: The USART has detected a LIN break.
7
TBE
Transmit data buffer empty
This bit is set after power on or when the transmit data has been transferred to the
transmit shift register. An interrupt occurs if the TBEIE bit in USART_CTL0 is set.
This bit is cleared when the software writes transmit data to the USART_DATA
register.
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...