|
M38203M4 Datasheet, PDF (200/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPLICATION
2.5 Serial I/O1
sTransfer data format
Data transfer format is set by the UART control register (address 001B16). Figure 2.5.9 shows a
transfer data format in the UART mode, Table 2.5.2, the each bit function of UART transmit data,
Figure 2.5.10, all transfer data formats in the UART mode.
qFor 1STâ8DATAâ1PAâ2SP
Transmit data
Data bit (8 bits)
LSB
ST D0 D1
MSB
D6 D7 PA
Next transmit data
(at continuous output)
SP SP ST D0 D1
Fig. 2.5.9 Transfer data format in UART mode
Table 2.5.2 Each bit function of UART transmit data
Bit
ST
(Start bit)
DATA
(Data bit)
PA
(Parity bit)
SP
(Stop bit)
Functions
Indicates a start of data transmission. A âLâ signal for one bit is added just before transmit
data.
Indicates the transmit data written in the transmit buffer register, â02â data is a âLâ signal
and â12â data is a âHâ signal. These bits are called as character bits.
To improve the reliability of data, this bit is added just after the last data bit. The value
of this bit changes in accordance with the value of the parity selection bit so that the
number of â1â in the transmit/receive data (including the parity bit) can always be an even
or an odd number.
Indicates an completion of data transmission. This bit is added just after the last data bit
(or just after a parity bit in the parity checking enabled). As a stop bit, a âHâ signal for 1
bit or 2 bits is output.
2â114
3820 GROUP USERâS MANUAL
|
▷ |