Rev.2.00 Oct 16, 2006 page 76 of 354
REJ09B0340-0200
M30245 Group
2. SIM interface
Continued from the previous page
UARTi transmit interrupt
REIT instruction
Confirm RxDi pin level
Port P6 register [Address 03EC
16
]
P6
b7 b0
Port P7
1
register (RxD
2
pin)
0 : “L” level
1 : “H” level
Port P7 register [Address 03ED
16
]
P7
b7 b0
Port P7
5
register (RxD
3
pin)
0 : “L” level
1 : “H” level
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)
Transmission enabled
Transmit enable bit
1 : Transmission enabled
1
Writing transmit data (Note)
Setting transmission data
UART0 transmit buffer register [Address 03AB
16
, 03AA
16
] U0TB
UART1 transmit buffer register [Address 036B
16
, 036A
16
] U1TB
UART2 transmit buffer register [Address 033B
16
, 033A
16
] U2TB
UART3 transmit buffer register [Address 032B
16
, 032A
16
] U3TB
UARTi transmit/receive control register 1
UiC1 [Address 03AD
16
, 36D
16
, 033D
16
, 32D
16
]
Note: Use MOV instruction to write to this register.
1
Port P6
2
register (RxD
0
pin)
0 : “L” level
1 : “H” level
Port P6
6
register (RxD
1
pin)
0 : “L” level
1 : “H” level
b7 b0
b7 b0
(b15 (b8)
b7 b0 b7 b0
Receive enable bit
1 : Reception enabled (Note)
Note: Set R
X
D pin's port direction register to “0”.
Figure 2.4.15. Set-up procedure of transmission 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...