CHAPTER 13 SERIAL INTERFACE UART0
Preliminary User’s Manual U16315EJ1V0UD
257
(2) Communication operation
(a) Normal transmit/receive data format
Figure 13-5 shows the format of the transmit/receive data.
Figure 13-5. Format of Normal UART Transmit/Receive Data
Start
bit
Parity
bit
D0
D1
D2
D3
D4
1 data frame
Character bits
D5
D6
D7
Stop bit
One data frame consists of the following bits.
•
Start bit ... 1 bit
•
Character bits ... 7 or 8 bits (LSB first)
•
Parity bit ... Even parity, odd parity, 0 parity, or no parity
•
Stop bit ... 1 or 2 bits
The character bit length, parity, and stop bit length in one data frame are specified by asynchronous serial
interface mode register 0 (ASIM0).
Figure 13-6. Example of Normal UART Transmit/Receive Data Format
1. Data length: 8 bits, Parity: Even parity, Stop bit: 1 bit, Transfer data: 55H
1 data frame
Start
D0
D1
D2
D3
D4
D5
D6
D7
Parity
Stop
2. Data length: 7 bits, Parity: Odd parity, Stop bit: 2 bits, Transfer data: 36H
1 data frame
Start
D0
D1
D2
D3
D4
D5
D6
Parity
Stop
Stop
3. Data length: 8 bits, Parity: None, Stop bit: 1 bit, Transfer data: 87H
1 data frame
Start
D0
D1
D2
D3
D4
D5
D6
D7
Stop
Содержание 78K0/KD1 Series
Страница 2: ...Preliminary User s Manual U16315EJ1V0UD 2 MEMO ...
Страница 444: ...Preliminary User s Manual U16315EJ1V0UD 444 MEMO ...