12
12-18
Serial I/O
12.2 Serial I/O Related Registers
32180 Group User's Manual (Rev.1.0)
12.2.4 SIO Transmit Buffer Registers
SIO0 Transmit Buffer Register (S0TXB) <Address: H'0080 0112>
SIO1 Transmit Buffer Register (S1TXB) <Address: H'0080 0122>
SIO2 Transmit Buffer Register (S2TXB) <Address: H'0080 0132>
SIO3 Transmit Buffer Register (S3TXB) <Address: H'0080 0142>
SIO4 Transmit Buffer Register (S4TXB) <Address: H'0080 0A12>
SIO5 Transmit Buffer Register (S5TXB) <Address: H'0080 0A22>
b01234567891011121314b15
T DATA
?
?????????
<After reset: Undefined>
b Bit Name Function R W
0–6 No function assigned. Fix to "0". ?0
7–15 TDATA Transmit data is set in these bits. ? W
Transmit data
The SIO Transmit Buffer Registers are used to set transmit data. These registers are a write-only register, and
the contents of these registers cannot be read out. Data must be LSB-aligned when set in these registers.
Therefore, write transmit data to bits 9–15 for the 7-bit data format (UART mode only), bits 8–15 for the 8-bit data
format, or bits 7–15 for the 9-bit data format (UART mode only).
Before setting transmit data in these registers, enable the Transmit Control Register TEN (Transmit Enable) bit
by setting it to "1". Writing data to these registers while the TEN bit is disabled (cleared to "0") has no effect.
When data is written to the SIO Transmit Buffer Register while transmission is enabled, the data is transferred
from that register to the SIO Transmit Shift Register, upon which the serial I/O starts sending data.
Note: For the 7-bit and 8-bit data formats, the register can be accessed bytewise.