|
M16C30P_07 Datasheet, PDF (183/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES | |||
|
◁ |
M16C/30P Group
15. Serial Interface
15.1.6.2 Format
When direct format, set the PRYE bit in the U2MR register to â1â, the PRY bit to â1â, the UFORM bit in the
U2C0 register to â0â and the U2LCH bit in the U2C1 register to â0â. When data are transmitted, data set in the
U2TB register are transmitted with the even-numbered parity, starting from D0. When data are received,
received data are stored in the U2RB register, starting from D0. The even-numbered parity determines whether
a parity error occurs.
When inverse format, set the PRYE bit to â1â, the PRY bit to â0â, the UFORM bit to â1â and the U2LCH bit to
â1â. When data are transmitted, values set in the U2TB register are logically inversed and are transmitted with
the odd-numbered parity, starting from D7. When data are received, received data are logically inversed to be
stored in the U2RB register, starting from D7. The odd-numbered parity determines whether a parity error
occurs.
(1) Direct format
Transfer âHâ
clcck âLâ
TXD2 âHâ
âLâ
(2) Inverse format
Transfer âHâ
clcck âLâ
TXD2
âHâ
âLâ
D0 D1 D2 D3 D4 D5 D6 D7 P
P : Even parity
D7 D6 D5 D4 D3 D2 D1 D0 P
P : Odd parity
Figure 15.36 SIM Interface Format
Rev.1.22 Mar 29, 2007 Page 167 of 291
REJ09B0179-0122
|
▷ |