Figure 13.9 Example Of Operation In Transmission In Asynchronous Mode (Example With 8-Bit Data, Parity, One Stop Bit) - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

6. If the TDRE flag is 1, the TEND flag in SSR is set to 1, the stop bit is sent, and then the "mark
state" is entered, in which 1 is output. If the TEIE bit in SCR is set to 1 at this time, a TEI
interrupt request is generated.
Start
1
bit
0
TDRE
TEND
TXI interrupt
request generated
Figure 13.9 Example of Operation in Transmission in Asynchronous Mode
Rev. 3.0, 10/02, page 386 of 686
Data
Parity
bit
D0
D1
D7
0/1
Data written to TDR and
TDRE flag cleared to 0 in
TXI interrupt service routine
1 frame
(Example with 8-Bit Data, Parity, One Stop Bit)
Stop
Start
Data
bit
bit
1
0
D0
D1
TXI interrupt
request generated
Parity
Stop
1
bit
bit
Idle state
D7
0/1
1
(mark state)
TEI interrupt
request generated

Advertisement

Table of Contents
loading

Table of Contents