R01UH0136EJ0210 Rev.2.10
Page 523 of 800
Jul 31, 2012
M16C/64A Group
24. Serial Interface SI/O3 and SI/O4
24.2.4
SI/Oi Bit Rate Register (SiBRG) (i = 3, 4)
Use the MOV instruction to write to the SiBRG register.
Write to the SiBRG register after setting bits SMi1 to SMi0 in the SiC register, and while the serial
interface is neither transmitting nor receiving.
24.2.5
SI/O3, 4 Control Register 2 (S34C2)
SM26 (SOUT3 output control bit) (b6)
SM27 (SOUT4 output control bit) (b7)
Bits SM26 and SM27 are enabled when the SMi6 bit in the SiC register is 1 (internal clock). Set the
SMi3 bit in the SiC register to 1 (serial interface enabled) after setting bits SM26 and SM27.
b7
Symbol
S3BRG
S4BRG
Address
0273h
0277h
Reset Value
Undefined
Undefined
b0
Function
RW
SiBRG divides the count source by n + 1 where n = set
value
00h to FFh
SI/Oi Bit Rate Register (i = 3, 4)
WO
Setting Range
b7
0
b6 b5 b4
b1
b2
b3
Symbol
S34C2
Address
0278h
Reset Value
00XX X0X0b
b0
Function
Bit Symbol
Bit Name
RW
—
(b1)
RW
RW
—
(b0)
—
SM26
SI/O3, 4 Control Register 2
Set to 0
Reserved bit
No register bit. If necessary, set to 0. Read as undefined value
—
(b5-b3)
RW
—
(b2)
—
Set to 0
Reserved bit
No register bits. If necessary, set to 0. Read as undefined value
SOUT3 output control bit
SOUT3 state after transmission
0 : High-impedance
1 : Last bit level retained
RW
SM27
SOUT4 output control bit
SOUT4 state after transmission
0 : High-impedance
1 : Last bit level retained
Summary of Contents for M16C/60 Series
Page 853: ...M16C 64A Group R01UH0136EJ0210...