R01UH0136EJ0210 Rev.2.10
Page 491 of 800
Jul 31, 2012
M16C/64A Group
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
Figure 23.20 Transfer to UiRB Register and Interrupt Timing
(1) IICM2 = 0 (ACK and NACK interrupts), CKPH = 1 (clock delay)
D6
D5
D4
D3
D2
D1
D7
SDAi
SCLi
D0
ACK interrupt (DMA1, DMA3 request), NACK interrupt
Transfer to UiRB register
b15
...
b9
b8 b7
b0
D8 D7 D6 D5 D4 D3 D2 D1 D0
UiRB register
D8 (ACK, NACK)
(2) IICM2 = 1 (UART transmit / receive interrupt), CKPH = 1
D6
D5
D4
D3
D2
D1
D7
SDAi
SCLi
D0
Transmit interrupt
Transfer to UiRB register
The above diagram assumes the CKDIR bit in the UiMR register is 1 (slave selected).
Receive interrupt (DMA1, DMA3 request)
b15
...
b9
b8 b7
b0
D0
D7 D6 D5 D4 D3 D2 D1
UiRB register
(read by reception interrupt)
Transfer to UiRB register
b15
...
b9
b8 b7
b0
D8 D7 D6 D5 D4 D3 D2 D1 D0
D8 (ACK, NACK)
1st bit
2nd bit
3rd bit
4th bit
5th bit
6th bit
7th bit
8th bit
9th bit
1st bit
2nd bit
3rd bit
4th bit
5th bit
6th bit
7th bit
8th bit
9th bit
Initial value and
end value are low.
Initial value and
end value are low.
UiRB register
(read by transmission interrupt)
IICM2: Bit in the UiSMR2 register
CKPH: Bit in the UiSMR3 register
i = 0 to 2, 5 to 7
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...