CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U15195EJ5V0UD
425
(b) Ending procedure
The procedure for ending continuous transmission is shown below.
Figure 10-7. Continuous Transmission End Procedure
TXD0 (output)
Data (m
−
1)
Data (m)
<11>
<7>
<6>
<8>
<10>
INTST0 (output)
TXB0 register
Data (m
−
1)
Data (m
−
1)
Data (m)
FFH
Data (m)
<9>
ASIF0 register
(TXBF0, TXSF0 bits)
UARTCAE0 bit
or
TXE0 bit
11
01
11
01
00
Transmit shift register
Start
bit
Start
bit
Stop
bit
Stop
bit
ASIF0 Register
Transmission End Procedure
Internal Operation
TXBF0 TXSF0
<6> Transmission of data (m
−
2) is in
progress
1 1
<7> INTST0 interrupt occurs
•
Read ASIF0 register (confirm that TXBF0 bit = 0)
0
0
1
1
•
Write data (m)
<8> Generate start bit
Start data (m
−
1) transmission
<<Transmission in progress>>
1 1
<9> INTST0 interrupt occurs
•
Read ASIF0 register (confirm that TXSF0 bit = 1)
There is no write data
<10> Generate start bit
Start data (m) transmission
<<Transmission in progress>>
0
0
1
1
<11> Generate INTST0 interrupt
•
Read ASIF0 register (confirm that TXSF0 bit = 0)
•
Clear (0) the UARTCAE0 bit or TXE0 bit
Initialize internal circuits
0
0
0
0
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...