
CHAPTER 14 SERIAL INTERFACE UART6
User’s Manual U19780EJ2V0UD
370
14.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 1 (PM1)
•
Port register 1 (P1)
(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 bits 7 and 6 (POWER6, TXE6) of ASIM6 = 1 or bits 7 and 5 (POWER6, RXE6) of ASIM6 = 1).
Figure 14-5. Format of Asynchronous Serial Interface Operation Mode Register 6 (ASIM6) (1/2)
Address: FF50H After reset: 01H R/W
Symbol
<7>
<6>
<5>
4 3 2 1 0
ASIM6 POWER6 TXE6
RXE6
PS61
PS60
CL6
SL6
ISRM6
POWER6
Enables/disables
operation of internal operation clock
0
Note 1
Disables operation of the internal operation clock (fixes the clock to low level) and asynchronously
resets the internal circuit
Note 2
.
1
Enables operation of the internal operation clock
TXE6
Enables/disables
transmission
0
Disables
transmission
(synchronously resets the transmission circuit).
1
Enables
transmission
RXE6
Enables/disables
reception
0
Disables
reception
(synchronously resets the reception circuit).
1
Enables
reception
Notes 1.
If POWER6 = 0 is set while transmitting data, the output of the TxD6 pin will be fixed to high level (if
TXDLV6 = 0). Furthermore, the input from the RxD6 pin will be fixed to high level.
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.