![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_72.png)
12-16
UUART Communication Support
Programmer’s Manual
ignored by the system. RTS is asserted after disabled RTS/CTS flow control.
12.6
Data reception with hardware flow control
12.6.1
Pause data reception
After RTS/CTS hardware flow control is enabled, PPSM automatically pauses
data reception once internal UART buffer (not FIFO) is full. Data reception is
resumed after data is read out by UARTReadData() in application. If the interval of
CTS remain negated is longer than the time out period, time out error will occur.
Applications can pause data reception of UART when hardware flow control is
enabled. Error code PPSM_ERR_RCTS_IDLE is returned if hardware flow control
is not enabled. Applications can resume data reception by calling
UARTRcvCtrl(UART_RCTS_CONT).
There will be no receive timeout error occur after pausing the data reception.
Because the purpose of UARTTimeout( ) is mainly for avoiding the system stays
in dead loop when transmitting or receiving data. User can set a timeout by calling
RefTimeAlarmId( ). The receive timeout is restarted when data reception is
resumed by calling UARTRcvCtrl(UART_RCTS_CONT).
12.6.2
Continue data reception
Applications can continue data reception which has been paused by
UARTRcvCtrl(UART_RCTS_PAUSE) when hardware flow control is enabled.
Error code PPSM_ERR_RCTS_IDLE is returned if hardware flow control is not
enabled.
12.7
Data transmission with hardware flow control
12.7.1
Pause data
transmission
Applications can pause data transmission of UART when hardware flow control is
enabled. Error code PPSM_ERR_RCTS_IDLE is returned if hardware flow control
is not enabled. Applications can resume data transmission by calling
UARTSendCtrl(UART_RCTS_CONT).
There will be no transmit timeout error occur after pausing the data transmission.
Because the purpose of UARTTimeout( ) is mainly for avoiding the system stays
in dead loop when transmitting or receiving data. User can set a timeout by calling
RefTimeAlarmId( ). The transmit timeout is restarted when data transmission is
resumed by calling UARTSendCtrl(UART_RCTS_CONT).
Personal Portable System Manager
Programmer’s Manual
12-17
Continue data
transmission
Applications can continue data transmission which has been paused by
UARTSendCtrl(UART_RCTS_PAUSE) when hardware flow control is enabled.
Error code PPSM_ERR_RCTS_IDLE is returned if hardware flow control is not
enabled.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.