
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Asynchronous/Synchronous Serial Interface (ASC)
User’s Manual
18-11
V2.2, 2004-01
ASC_X, V2.0
If the TXFIFO is full and additional bytes are written into TBUF, the error interrupt will be
generated with bit OE set. In this case, the data byte that was last written into the transmit
FIFO is overwritten and the transmit FIFO filling level TXFFL is set to maximum.
The TXFIFO can be flushed or cleared by setting bit TXFFLU in register
ASCx_TXFCON. After this TXFIFO flush operation, the TXFIFO is empty and the
transmit FIFO filling level TXFFL is set to 0000
B
. A running serial transmission is not
aborted by a receive FIFO flush operation
Note: The TXFIFO is flushed automatically with a reset operation of the ASC module
and if the TXFIFO becomes disabled (resetting bit TXFEN) after it was previously
enabled.