![GigaDevice Semiconductor GD32F10 Series Скачать руководство пользователя страница 436](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f10-series/gd32f10-series_user-manual_2225800436.webp)
GD32F10x User Manual
436
Figure 16-7. Hardware flow control between two USARTs
USART 1
TX module
RX module
USART 2
RX module
TX module
TX
RX
nCTS
nRTS
RX
TX
nRTS
nCTS
RTS flow control
The USART receiver outputs the nRTS, which reflects the status of the receive buffer. When
data frame is received, the nRTS signal goes high to prevent the transmitter from sending
next frame. The nRTS signal keeps high when the receive buffer is full, and can be cleared
by reading the USART_DATA register.
CTS flow control
The USART transmitter monitors the nCTS input pin to decide if a data frame can be
transmitted. If the TBE bit in USART_STAT is ‘0’ and the nCTS signal is low, the transmitter
transmits the data frame. When the nCTS signal goes high during a transmission, the
transmitter stops after the current transmission is accomplished.
Figure 16-8. Hardware flow control
nCTS
RX
nRTS
RTS flow control
CTS flow control
TX
start
data 2
start
data 3
stop
stop
data 1
stop
start
data 1
start
data 2
stop
stop
USART_DATA
data 2
empty
empty
data 3
empty
idle
idle
idle
idle
If the CTS flow control is enabled, the CTSF bit in USART_STAT is set when the nCTS pin
toggles. An interrupt is generated if the CTSIE bit in USART_CTL2 is set.
Содержание 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 ...