Renesas M16C Series User Manual page 243

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30240 Group
Setting UART2 bit rate generator
b7
Note: Write to UART2 bit rate generator when transmission/reception is halted.
Reception enabled
b7
Checking completion of reception
b7
Checking error
(b15)
b7
Figure 2.73: Set-up procedure of reception in UART mode (compliant with SIM interface) (2)
Rev.1.00 Sep 24, 2003 Page 225 of 360
Continued from the previous page
b0
UART2 bit rate generator [Address 0379
U2BRG
Can be set from 00
to FF
16
b0
UART2 transmit/receive control register 1 [Address 037D
1
1
U2C1
Transmit enable bit
1 : Transmission enabled
Receive enable bit
1 : Reception enabled
Start reception
b0
UART2 transmit/receive control register 1 [Address 037D
U2C1
Receive complete flag
0 : No data present in receive buffer register
1 : Data present in receive buffer register
(b8)
b0 b7
b0
Processing after reading out reception data
Clock-Asynchronous Serial I/O
]
16
(Note)
16
]
16
]
16
UART2 receive buffer register [Address 037F
U2RB
Receive data
Overrun error flag
0 : No overrun error
1 : Overrun error found
Framing error flag
0 : No framing error
1 : Framing error found
Parity error flag
0 : No parity error
1 : Parity error found
Error sum flag
0 : No error
1 : Error found
, 037E
]
16
16

Advertisement

Table of Contents
loading

Table of Contents