SIC63616-(Rev. 1.0) NO. P51
3240-0412
4.5.8 I/O memory of I/O ports
Table 4.5.8.1 shows the I/O addresses and the control bits for the I/O ports.
Table 4.5.8.1(a) Control bits of I/O ports
D3
D2
D1
D0
Name Init
∗
1
1
0
Address
Comment
Register
FF11H
NRSP11 NRSP10 NRSP01 NRSP00
R/W
NRSP11
NRSP10
NRSP01
NRSP00
0
0
0
0
Key input interrupt noise reject frequency selection
0
Off
0
Off
1
f
OSC1
/16
1
f
OSC1
/16
2
f
OSC1
/64
2
f
OSC1
/64
3
f
OSC1
/256
3
f
OSC1
/256
[NRSP11, 10] (P40–P43)
Frequency
[NRSP01, 00] (P10–P13)
Frequency
FF10H
FOUT3 FOUT2 FOUT1 FOUT0
R/W
FOUT3
FOUT2
FOUT1
FOUT0
0
0
0
0
FOUT frequency selection
[FOUT3–0]
Frequency
[FOUT3–0]
Frequency
[FOUT3–0]
Frequency
0
Off
1
f
OSC1
/256
2
f
OSC1
/64
3
f
OSC1
/32
4
f
OSC1
/16
5
f
OSC1
/4
6
f
OSC1
/2
11
f
OSC3
/16
7
f
OSC1
12
f
OSC3
/8
8
f
OSC3
/256
13
f
OSC3
/4
9
f
OSC3
/64
14
f
OSC3
/2
10
f
OSC3
/32
15
f
OSC3
FF20H
P03
(RFOUT/
BZ)
P02
(SEN0)
P01
(REF0)
P00
(RFIN0)
R/W
P03
P02
P01
P00
1
1
1
1
High
High
High
High
Low
Low
Low
Low
P03 I/O port data
functions as a general-purpose register when R/f or BZ is used
P02 I/O port data
functions as a general-purpose register when R/f is used
P01 I/O port data
functions as a general-purpose register when R/f is used
P00 I/O port data
functions as a general-purpose register when R/f is used
FF21H
R/W
IOC03
IOC02
IOC01
IOC00
0
0
0
0
Output
Output
Output
Output
Input
Input
Input
Input
P03 I/O control register
functions as a general-purpose register when R/f or BZ is used
P02 I/O control register
functions as a general-purpose register when R/f is used
P01 I/O control register
functions as a general-purpose register when R/f is used
P00 I/O control register
functions as a general-purpose register when R/f is used
FF24H
P13
(TOUT_A)
P12
P11
P10
R/W
P13
P12
P11
P10
1
1
1
1
High
High
High
High
Low
Low
Low
Low
P13 I/O port data
functions as a general-purpose register when TOUT_A is used
P12 I/O port data
P11 I/O port data
P10 I/O port data
FF25H
IOC13 IOC12 IOC11 IOC10
R/W
IOC13
IOC12
IOC11
IOC10
0
0
0
0
Output
Output
Output
Output
Input
Input
Input
Input
P13 I/O control register
functions as a general-purpose register when TOUT_A is used
P12 I/O control register
P11 I/O control register
P10 I/O control register
IOC03 IOC02 IOC01 IOC00
FF22H
R/W
PUL03
PUL02
PUL01
PUL00
1
1
1
1
On
On
On
On
Off
Off
Off
Off
P03 pull-down control register
functions as a general-purpose register when R/f or BZ is used
P02 pull-down control register
functions as a general-purpose register when R/f is used
P01 pull-down control register
functions as a general-purpose register when R/f is used
P00 pull-down control register
functions as a general-purpose register when R/f is used
PUL03 PUL02 PUL01 PUL00
FF23H
R/W
SMT03
SMT02
SMT01
SMT00
1
1
1
1
1
1
1
1
0
0
0
0
General-purpose register
General-purpose register
General-purpose register
General-purpose register
SMT03 SMT02 SMT01 SMT00
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read