CHAPTER 11 SERIAL INTERFACE UART6
User’s Manual U16898EJ3V0UD
183
11.3 Registers Controlling Serial Interface UART6
Serial interface UART6 is controlled by the following nine registers.
•
Asynchronous serial interface operation mode register 6 (ASIM6)
•
Asynchronous serial interface reception error status register 6 (ASIS6)
•
Asynchronous serial interface transmission status register 6 (ASIF6)
•
Clock selection register 6 (CKSR6)
•
Baud rate generator control register 6 (BRGC6)
•
Asynchronous serial interface control register 6 (ASICL6)
•
Input switch control register (ISC)
•
Port mode register 4 (PM4)
•
Port register 4 (P4)
(1) Asynchronous serial interface operation mode register 6 (ASIM6)
This 8-bit register controls the serial communication operations of serial interface UART6.
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to 01H.
Remark
ASIM6 can be refreshed (the same value is written) by software during a communication operation
(when bit 7 (POWER6) and bit 6 (TXE6) of ASIM6 = 1 or bit 7 (POWER6) and bit 5 (RXE6) of ASIM6
= 1).
Figure 11-5. Format of Asynchronous Serial Interface Operation Mode Register 6 (ASIM6) (1/2)
Address: FF90H After reset: 01H R/W
Symbol
<7>
<6>
<5>
4 3 2 1 0
ASIM6 POWER6 TXE6 RXE6 PS61
PS60
CL6
SL6
ISRM6
POWER6
Enabling/disabling
operation of internal operation clock
0
Note 1
Disable operation of the internal operation clock (fixes the clock to low level) and asynchronously
resets the internal circuit
Note 2
.
1
Note 3
Enable operation of the internal operation clock
TXE6
Enabling/disabling
transmission
0
Disable transmission (synchronously reset the transmission circuit).
1
Enable
transmission
Notes 1.
The output of the T
X
D6 pin goes high and the input from the R
X
D6 pin is fixed to the high level when
POWER6 is cleared to 0 during a transmission 0.
2.
Asynchronous serial interface reception error status register 6 (ASIS6), asynchronous serial interface
transmission status register 6 (ASIF6), bit 7 (SBRF6) and bit 6 (SBRT6) of asynchronous serial
interface control register 6 (ASICL6), and receive buffer register 6 (RXB6) are reset.
3.
Operation of the 8-bit counter output is enabled at the second base clock after 1 is written to the
POWER6 bit.