Rev.2.00 Oct 16, 2006 page 48 of 354
REJ09B0340-0200
M30245 Group
2. Clock-Synchronous Serial I/O
Continued from the previous page
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
Setting transmission data (9th bit)
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.
b7 b0
b7 b0
(b15 (b8)
b7 b0 b7 b0
UARTi transmit/receive control register 1
UiC1 [Address 03AD
16
, 36D
16
, 033D
16
, 32D
16
]
When CTSi input level = “L”
Start transmission
Checking the status of UARTi transmit /receive control register (i = 0 to 3)
Transmit buffer empty flag
0 : Data present in transmit buffer register
1 : No data present in transmit buffer register (Writing next transmit data enabled)
Writing next transmit data (Note)
Transmission is complete
b7 b0
(b15) (b8)
b7 b0 b7 b0
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
Setting transmission data
Setting transmission data (9th bit)
Note: Use MOV instruction to write to this register.
When transmitting continuously
Figure 2.3.7. Set-up procedure of transmission in clock-synchronous serial I/O mode (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...