CHAPTER 11 SERIAL INTERFACE UART6
User’s Manual U17446EJ3V1UD
187
Figure 11-5. Format of Asynchronous Serial Interface Operation Mode Register 6 (ASIM6) (2/2)
TXE6
Note 1
Enabling/disabling
transmission
0
Disable
transmission
(synchronously reset the transmission circuit).
1
Enable
transmission
RXE6
Note 2
Enabling/disabling
reception
0
Disable reception (synchronously reset the reception circuit).
1
Enable
reception
PS61
PS60
Transmission
operation Reception
operation
0
0
Parity bit not output.
Reception without parity
0
1
Output 0 parity.
Reception as 0 parity
Note 3
1
0
Output odd parity.
Judge as odd parity.
1
1
Output even parity.
Judge as even parity.
CL6
Specification
of
character
length of transmit/receive data
0
Character length of data = 7 bits
1
Character length of data = 8 bits
SL6
Specification of number of stop bits of transmit data
0
Number of stop bits = 1
1
Number of stop bits = 2
ISRM6
Enabling/disabling occurrence of reception completion interrupt in case of error
0
“INTSRE6” occurs in case of error (at this time, INTSR6 does not occur).
1
“INTSR6” occurs in case of error (at this time, INTSRE6 does not occur).
Notes 1.
TXE6 is synchronized by the base clock (f
XCLK6
) set by CKSR6. When re-enabling transmission
operation, set TXE6 to 1 after having set TXE6 to 0 and one clock of the base clock (f
XCLK6
) has
elapsed. If TXE6 is set to 1 before one clock of the base clock (f
XCLK6
) has elapsed, the transmission
circuit may not able to be initialized.
2.
RXE6 is synchronized by the base clock (f
XCLK6
) set by CKSR6. When re-enabling reception operation,
set RXE6 to 1 after having set RXE6 to 0 and one clock of the base clock (f
XCLK6
) has elapsed. If
RXE6 is set to 1 before one clock of the base clock (f
XCLK6
) has elapsed, the reception circuit may not
be able to be initialized.
3.
If “reception as 0 parity” is selected, the parity is not judged. Therefore, bit 2 (PE6) of asynchronous
serial interface reception error status register 6 (ASIS6) is not set and the error interrupt does not
occur.
Caution
1. At startup, transmission operation is started by setting TXE6 to 1 after having set POWER6 to
1, then setting the transmit data to TXB6 after having waited for one clock or more of the
base clock (f
XCLK6
). When stopping transmission operation, set POWER6 to 0 after having set
TXE6 to 0.
<R>
<R>
<R>
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...