R01UH0136EJ0210 Rev.2.10
Page 521 of 800
Jul 31, 2012
M16C/64A Group
24. Serial Interface SI/O3 and SI/O4
24.2.1
Peripheral Clock Select Register (PCLKR)
Rewrite the PCLKR register after setting the PRC0 bit in the PRCR register to 1 (write enabled).
24.2.2
SI/Oi Transmit/Receive Register (SiTRR) (i = 3, 4)
Write to the SiTRR register while the serial interface is neither transmitting nor receiving.
Write a value to the SiTRR register each time 1-byte data is received, even when data is only received.
Peripheral Clock Select Register
b7
0
0
0
0
0
b6 b5 b4
b1
b2
b3
Symbol
PCLKR
Address
0012h
Bit Symbol
Bit Name
RW
Reset Value
0000 0011b
b0
Function
—
(b4-b2)
RW
Reserved bits
Set to 0
—
(b7-b6)
RW
Reserved bits
Set to 0
PCLK5
RW
Clock output function
expansion bit
(enabled in single-chip mode)
0: Selected by setting bits CM01 to CM00
in the CM0 register
1: Output f1
PCLK0
Timers A and B clock select bit
(clock source for timers A and
B, the dead time timer, and
multi-master I
2
C-bus interface)
0: f2TIMAB/f2IIC
1: f1TIMAB/f1IIC
RW
PCLK1
RW
SI/O clock select bit
(clock source for UART0 to
UART2, UART5 to UART7,
SI/O3, and SI/O4)
0: f2SIO
1: f1SIO
b7
Symbol
S3TRR
S4TRR
Address
0270h
0274h
Reset Value
Undefined
Undefined
b0
Function
RW
SI/Oi Transmit/Receive Register (i = 3, 4)
Transmission/reception starts by writing transmit data to this register.
After transmission/reception completes, receive data can be read.
RW
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...