Lapis ML610Q111 User Manual page 215

Table of Contents

Advertisement

12.2.2
UART0 Transmit/Receive Buffer (UA0BUF)
Address: 0F290H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
UA0BUF
U0B7
R/W
R/W
Initial value
0
UA0BUF is a special function register (SFR) to store the transmitted/received data of the UART.
In transmit mode, write transmission data to UA0BUF. To transmit the data consecutively, confirm the U0FUL flag of the
UART0 status register (UA0STAT) becomes "0", then write the next transmitted data to the UA0BUF. Any value written
to UA0BUF can be read.
In receive mode, since data received at termination of reception is stored in UA0BUF, read the contents of UA0BUF using
the UART0 interrupt at termination of reception. At continuous reception, UA0BUF is updated whenever reception
terminates. Any write to UA0BUF is disabled in receive mode.
The bits, which are not required when any of the 5 to 7-bit data length is selected, become invalid in transmit mode and are
set to "0" in receive mode.
Note:
For operation in transmit mode, be sure to set the transmit mode (UA0MOD0 and UA0MOD1) before setting the
transmitted data in UA0BUF.
12.2.3
UART1 Transmit/Receive Buffer (UA1BUF)
Address: 0F298H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
UA1BUF
U1B7
R/W
R/W
Initial value
0
UA1BUF is a special function register (SFR) to store the transmitted/received data of the UART.
In transmit mode, write transmission data to UA1BUF. To transmit the data consecutively, confirm the U1FUL flag of the
UART1 status register (UA1STAT) becomes "0", then write the next transmitted data to the UA1BUF. Any value written
to UA1BUF can be read.
In receive mode, since data received at termination of reception is stored in UA1BUF, read the contents of UA1BUF using
the UART1 interrupt at termination of reception. At continuous reception, UA1BUF is updated whenever reception
terminates. Any write to UA1BUF is disabled in receive mode.
The bits, which are not required when any of the 5 to 7-bit data length is selected, become invalid in transmit mode and are
set to "0" in receive mode.
Note:
For operation in transmit mode, be sure to set the transmit mode (UA1MOD0 and UA1MOD1) before setting the
transmitted data in UA1BUF.
FEUL610Q111
6
5
U0B6
U0B5
U0B4
R/W
R/W
R/W
0
0
6
5
U1B6
U1B5
U1B4
R/W
R/W
R/W
0
0
ML610Q111/ML610Q112 User's Manual
4
3
2
U0B3
U0B2
R/W
R/W
0
0
0
4
3
2
U1B3
U1B2
R/W
R/W
0
0
0
Chapter 12 UART
1
0
U0B1
U0B0
R/W
R/W
0
0
1
0
U1B1
U1B0
R/W
R/W
0
0
12-3

Advertisement

Table of Contents
loading

Related Products for Lapis ML610Q111

This manual is also suitable for:

Ml610q112

Table of Contents