Format Of Asynchronous Serial Interface Transmit/Receive Data - NEC PD789488 User Manual

Pd789489 subseries 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2)
Communication operation
(a) Data format
The transmit/receive data format is as shown in Figure 11-7. One data frame consists of a start bit,
character bits, parity bit, and stop bit(s).
The specification of character bit length in one data frame, parity selection, and specification of stop bit
length is carried out using asynchronous serial interface mode register 20 (ASIM20).
Figure 11-7. Format of Asynchronous Serial Interface Transmit/Receive Data
• Start bits ................... 1 bit
• Character bits............ 7 bits/8 bits
• Parity bits .................. Even parity/odd parity/0 parity/no parity
• Stop bits.................... 1 bit/2 bits
When 7 bits are selected as the number of character bits, only the lower 7 bits (bits 0 to 6) are valid; in
transmission the most significant bit (bit 7) is ignored, and in reception the most significant bit (bit 7) is
always "0".
The serial transfer rate is selected by baud rate generator control register 20 (BRGC20).
If a serial data receive error occurs, the receive error contents can be determined by reading the status
of asynchronous serial interface status register 20 (ASIS20).
204
CHAPTER 11 SERIAL INTERFACE 20
One data frame
Start
D0
D1
D2
D3
bit
User's Manual U15331EJ4V1UD
Parity
D4
D5
D6
D7
bit
Stop bit

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78f9488Pd78f9489Pd789489

Table of Contents