Rev.2.00 Oct 16, 2006 page 67 of 354
REJ09B0340-0200
M30245 Group
2. UART
Figure 2.4.9. Set-up procedure of transmission in UART mode (2)
Continued from the previous page
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 buffer 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
Note: Use MOV instruction to write to this register.
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
Note: Use MOV instruction to write to this register.
(b15 (b8)
b7 b0 b7 b0
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
UARTi transmit/receive control register 1
UiC1 [Address 03AD
16
, 36D
16
, 033D
16
, 32D
16
]
b7 b0
b7 b0
When transmitting continuously
Summary of Contents for M16C FAMILY
Page 12: ...Chapter 1 Hardware...
Page 13: ...See M30245 group datasheet...
Page 14: ...Chapter 2 Peripheral Functions Usage...
Page 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Page 340: ...Chapter 4 External Buses...
Page 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 362: ...Chapter 5 Standard Characteristics...