NEC 78K0/KD1 Series User Manual page 250

8-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 13-2. Format of Asynchronous Serial Interface Operation Mode Register 0 (ASIM0) (2/2)
PS01
0
0
1
1
CL0
0
1
SL0
0
1
Note If "reception as 0 parity" is selected, the parity is not judged. Therefore, bit 2 (PE0) of asynchronous serial
interface reception error status register 0 (ASIS0) is not set and the error interrupt does not occur.
Cautions 1. Clear the TXE0 and RXE0 bits to 0 before rewriting the PS01, PS00, and CL0 bits.
2. Make sure that TXE0 = 0 when rewriting the SL0 bit. Reception is always performed with
"number of stop bits = 1", and therefore, is not affected by the set value of the SL0 bit.
250
CHAPTER 13 SERIAL INTERFACE UART0
PS00
Transmission operation
0
Does not output parity bit.
1
Outputs 0 parity.
0
Outputs odd parity.
1
Outputs even parity.
Specifies character length of transmit/receive data
Character length of data = 7 bits
Character length of data = 8 bits
Specifies number of stop bits of transmit data
Number of stop bits = 1
Number of stop bits = 2
Preliminary User's Manual U16315EJ1V0UD
Reception operation
Reception without parity
Note
Reception as 0 parity
Judges as odd parity.
Judges as even parity.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents