Rev.2.00 Oct 16, 2006 page 101 of 354
REJ09B0340-0200
M30245 Group
2. Serial Interface Special Function
Figure 2.5.13. Set-up procedure of reception in serial interface special function master mode, with clock delay (2)
Continued from the previous page
Output “H” to the SS port on the transmitter side IC
Output an “L” to SS port on the transmitter side IC
Processing after reading out received data
Start reception
Data logic select bit
0 : No reverse
UARTi transmit interrupt cause select bit
0 : Transmit buffer empty (Tl = 1)
Setting UARTi transmit/receive control register 1 (i=0 to 3)
0 0 0 0
Setting UARTi bit rate generator (i =0 to 3)
Can be set to 00
16
to FF
16
(Note)
Reception enabled
Transmit enable bit
1 : Transmission enabled
1
Writing dummy data (Note)
Setting dummy data
Checking completion of data reception
Receive complete flag
0 : No data present in receive buffer register
1 : Data present in receive buffer register
Checking error
1
Reception enable bit
1 : Reception enabled
Overrun error flag
0: No overrun error
1: Overrun error found
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
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
]
UARTi transmit/receive control register 1
UiC1 [Address 03AD
16
, 36D
16
, 033D
16
, 32D
16
]
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.
UARTi bit rate generator [Address 03A9
16
, 0369
16
, 0339
16
, 0329
16
,]
UiBRG (i = 0 to 3)
Note: Use MOV instruction to write to this register.
Write to UARTi bit rate generator when transmission/reception is halted.
UARTi continuous receive mode enable bit
0 : Continuous receive mode disabled
Set to “0” in clock synchronous serial I/O mode.
b7 b0
b7 b0
b7 b0
(b15 (b8)
b7 b0 b7 b0
b7 b0
(b15) (b8)
b7 b0 b7 b0
Содержание 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...