Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
S I/O3, 4
144
SI/Oi bit rate generator
b7
b0
Symbol
S3BRG
S4BRG
Address
0363
16
0367
16
When reset
Indeterminate
Indeterminate
Indeterminate
Assuming that set value = n, BRGi divides the count
source by n + 1
00
16
to FF
16
Values that can be set
W
R
SI/Oi transmit/receive register
b7
b0
Symbol
S3TRR
S4TRR
Address
0360
16
0364
16
When reset
Indeterminate
Indeterminate
Indeterminate
Transmission/reception starts by writing data to this register.
After transmission/reception finishes, reception data is input.
W
R
S I/Oi control register (i = 3, 4) (Note 1)
Symbol
SiC
Address
0362
16
, 0366
16
When reset
40
16
b7
b6
b5
b4 b3
b2
b1
b0
W
R
Description
SMi5
SMi1
SMi0
SMi3
SMi6
SMi7
Internal synchronous
clock select bit
Transfer direction select
bit
Synchronous clock
select bit (Note 2)
S I/Oi port select bit
(Note 2)
S
OUT
i initial value
set bit
1
0 1 : Selecting f
8
1 0 : Selecting f
32
1 1 : Not to be used
0 : S
OUT
i output
1 : S
OUT
i output disable
(high impedance)
b1 b0
0 : External clock
1 : Internal clock
Effective when SMi3 = 0
0 : L output
1 : H output
0 : Input-output port
1 : S
OUT
i output, CLK function
Bit name
Bit
symbol
0 : LSB first
1 : MSB first
SMi2
S
OUT
i output disable bit
Note 1: Set “1” in bit 2 of the protection register (000A
16
) in advance to write to the
S I/Oi control register (i = 3, 4).
Note 2:
When using the port as an input/output port by setting the SI/Oi port
select bit (i = 3, 4) to
“0”
, be sure to set the sync clock select bit to
“1”
.
Nothing is assigned.
In an attempt to write to this bit, write “0”. The value, if read, turns out to be “0”.
Figure 1.16.32. S I/O3, 4 related register