248
µ
PD78214 Sub-Series
•
Odd parity
In contrast to even parity, the parity bit for odd parity is controlled so that the number of 1 bits in the transmit
data becomes odd. When data is received, the number of 1 bits in it is counted, and if the number of 1 bits is
even, a parity error is detected.
•
0 parity
When data is transmitted, the parity bit is reset to 0, regardless of what the transmit data is like. During reception,
the parity bit is not checked. Therefore, a parity error is not detected, regardless of whether the parity bit is 0
or 1.
• No parity
No parity bit is attached to the transmit data. The reception end assumes that there is no parity bit. Because
no parity bit is used, no parity error is detected.
9.3.3 Transmission
The asynchronous serial interface for the
µ
PD78214 is always ready to transmit data. Writing transmit data to the
transmission shift register (TXS) triggers transmission. The start bit, parity bit, and stop bit(s) are attached
automatically.
When transmission is triggered, the transmission shift register (TXS) shifts out its contents. When the register
becomes empty, a transmission completion interrupt (INTST) occurs.
If no further transmission data is written to the transmission shift register (TXS), transmission breaks.
Fig. 9-5 Asynchronous Serial Interface Transmission Completion Interrupt Timing
START
D0
D1
D2
D6
D7
Parity
STOP
STOP
D6
Parity
D7
D2
D1
D0
START
TxD (Output)
INTST
TxD (Output)
INTST
(a) Stop bit length: 1
(b) Stop bit length: 2
Cautions 1. When the RESET signal is input, the transmission shift register becomes empty, but no transmission completion interrupt
occurs. Transmission is triggered by writing the transmit data to the transmission shift register.
2. The asynchronous serial interface mode register (ASIM) must not be modified during transmission. If the ASIM register is
modified during transmission, further transmission becomes impossible (inputting the RESET signal resumes normal
operation).
Software can determine whether transmission is in progress, using the transmission completion interrupt (INTST) or the
interrupt request flag (STIF), which is set by the INTST.
Содержание PD78212
Страница 11: ......
Страница 53: ...24 ...
Страница 61: ...32 µPD78214 Sub Series 9 VSS Ground 10 NC non connection Not connected inside the chip ...
Страница 65: ...36 ...
Страница 83: ...54 ...
Страница 135: ...106 ...
Страница 271: ...242 ...
Страница 405: ...376 ...
Страница 417: ...388 ...
Страница 423: ...394 ...
Страница 449: ...420 ...
Страница 457: ...428 ...
Страница 471: ...442 ...
Страница 487: ...458 ...