ML610Q111/ML610Q112 User’s Manual
Chapter 12 UART
FEUL610Q111
12-3
12.2.2
UART0 Transmit/Receive Buffer (UA0BUF)
Address: 0F290H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
6
5
4
3
2
1
0
UA0BUF
U0B7
U0B6
U0B5
U0B4
U0B3
U0B2
U0B1
U0B0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
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
6
5
4
3
2
1
0
UA1BUF
U1B7
U1B6
U1B5
U1B4
U1B3
U1B2
U1B1
U1B0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
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.
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...