CHAPTER 12 SERIAL INTERFACE UART6
Preliminary User’s Manual U16846EJ1V0UD
248
Figure 12-16 shows an example of the continuous transmission processing flow.
Figure 12-16. Example of Continuous Transmission Processing Flow
Write TXB6.
Set registers.
Write TXB6.
Transfer
executed necessary
number of times?
Yes
Read
ASIF6
TXBF6 = 0?
No
No
Yes
Transmission
completion interrupt
occurs?
Read
ASIF6
TXSF6 = 0?
No
No
No
Yes
Yes
Yes
Yes
Completion of
transmission processing
Transfer
executed necessary
number of times?
Remark TXB6:
Transmit buffer register 6
ASIF6: Asynchronous serial interface transmission status register 6
TXBF6: Bit 1 of ASIF6 (transmit buffer data flag)
TXSF6: Bit 0 of ASIF6 (transmit shift register data flag)