Rev.2.00 Oct 16, 2006 page 80 of 354
REJ09B0340-0200
M30245 Group
2. SIM interface
Continued from the previous page
Start reception
Checking completion of data reception
Receive complete flag
0 : No data present in receive buffer register
1 : Data present in receive buffer register
UART0 receive buffer register [Address 03AF
16
, 03AE
16
] U0RB
UART1 receive buffer register [Address 036F
16
, 036E
16
] U1RB
UART2 receive buffer register [Address 033F
16
, 033E
16
] U2RB
UART3 receive buffer register [Address 032F
16
, 032E
16
] U3RB
Processing after reading out received data
b7 b0
b7 b0
1
UARTi transmit/receive control register 1
UiC1 [Address 03AD
16
, 36D
16
, 033D
16
, 32D
16
]
b7 b0
Checking error
Received 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
(b15) (b8)
b7 b0 b7 b0
Invalid in UART mode
Reception enabled
UARTi transmit/receive control register 1
UiC1 [Address 03AD
16
, 36D
16
, 033D
16
, 32D
16
]
Transmit enable bit
1 : Transmission enabled
Receive enable bit
1 : Reception enabled (Note)
Setting UARTi bit rate generator (i = 0 to 3)
Note: Use MOV instruction to write to this register.
Write to UARTi bit rate generator when transmission/reception is halted.
Can be set to 00
16
to FF
16
(Note)
UARTi bit rate generator [Address 03A9
16
, 0369
16
, 0339
16
, 0329
16
,]
UiBRG (i = 0 to 3)
Note: Set R
X
D pin's port direction register to “0”.
1
Figure 2.4.18. Set-up procedure of reception in UART mode (used for SIM interface)(2)
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...