SIC63616-(Rev. 1.0) NO. P54
3240-0412
Table 4.5.8.1(d) Control bits of I/O ports
D3
D2
D1
D0
Name Init
∗
1
1
0
Address
Comment
Register
FF3DH
PCP03 PCP02 PCP01 PCP00
R/W
PCP03
PCP02
PCP01
PCP00
1
1
1
1
P10–P13 interrupt polarity select register
FF3FH
PCP13 PCP12 PCP11 PCP10
R/W
PCP13
PCP12
PCP11
PCP10
1
1
1
1
P40–P43 interrupt polarity select register
FF3EH
SIP13
SIP12
SIP11
SIP10
R/W
SIP13
SIP12
SIP11
SIP10
0
0
0
0
Enable
Enable
Enable
Enable
Disable
Disable
Disable
Disable
P40–P43 interrupt select register
FF44H
ENRTM ENRST ENON
BZE
R/W
W
R/W
ENRTM
ENRST
∗
3
ENON
BZE
0
Reset
0
0
1 sec
Reset
On
Enable
0.5 sec
Invalid
Off
Disable
Envelope releasing time selection
Envelope reset (writing)
Envelope On/Off
Buzzer output enable
FF45H
0
BZSTP BZSHT SHTPW
R
W
R/W
0
∗
3
BZSTP
∗
3
BZSHT
SHTPW
–
∗
2
0
0
0
Stop
Trigger
Busy
125 msec
Invalid
Invalid
Ready
31.25 msec
Unused
1-shot buzzer stop (writing)
1-shot buzzer trigger (writing)
1-shot buzzer status (reading)
1-shot buzzer pulse width setting
FF48H
0
0
SWDIR EDIR
R
R/W
0
∗
3
0
∗
3
SWDIR
EDIR
–
∗
2
–
∗
2
0
0
Enable Disable
Unused
Unused
Stopwatch direct input switch
0: P10=Run/Stop, P11=Lap 1: P10=Lap, P11=Run/Stop
Direct input enable
FF58H
0
ESOUT SCTRG ESIF
R
R/W
0
∗
3
ESOUT
SCTRG
ESIF
–
∗
2
0
0
0
Enable
Trigger
Run
SIF
Disable
Invalid
Stop
I/O
Unused
SOUT enable
Serial I/F clock trigger (writing)
Serial I/F clock status (reading)
Serial I/F enable (P2 port function selection)
R
R/W
FF5AH
0
0
ESREADY ENCS
0
∗
3
0
∗
3
ESREADY
ENCS
–
∗
2
–
∗
2
0
0
SRDY
SIF
SS
I/O
Unused
Unused
P23 port
function selection
Serial I/F enable
(P23 function selection)
FF60H
RFCNT RFOUT ERF1
ERF0
R/W
RFCNT
RFOUT
ERF1
ERF0
0
0
0
0
Continue
Enable
Normal
Disable
Continuous oscillation enable
RFOUT enable
R/f
conversion
selection
0
I/O
1
Ch.0 DC
2
Ch.1 AC
3
Ch.1 DC
[ERF1, 0]
R/f conversion
ENCS
0
1
1
Slave
(SMOD=0)
P23
I/O
SS
SRDY
Master
(SMOD=1)
P23
I/O
I/O
Prohibited
ESREADY
x
0
1
MOD16_A
EVCNT_A
FCSEL_A
PLPUL_A
0
0
0
0
16 bits
Event ct.
With NR
8 bits
Timer
No NR
R/W
FF80H
MOD16_A EVCNT_A FCSEL_A PLPUL_A
PTSEL1
PTSEL0
CHSEL_A
PTOUT_A
0
0
0
0
PWM
PWM
Timer 1
On
Normal
Normal
Timer 0
Off
R/W
FF81H
PTSEL1 PTSEL0 CHSEL_A PTOUT_A
PTM0–1 16-bit mode selection
PTM0 counter mode selection
PTM0 function selection (for event counter mode)
PTM0 pulse polarity selection (for event counter mode)
Programmable timer 1 PWM output selection
Programmable timer 0 PWM output selection
PTM0–1 TOUT_A output selection
PTM0–1 TOUT_A output control
MOD16_B
EVCNT_B
FCSEL_B
PLPUL_B
0
0
0
0
16 bits
Event ct.
With NR
8 bits
Timer
No NR
R/W
FF90H
MOD16_B EVCNT_B FCSEL_B PLPUL_B
PTSEL3
PTSEL2
CHSEL_B
PTOUT_B
0
0
0
0
PWM
PWM
1
1
Normal
Normal
0
0
R/W
FF91H
PTSEL3 PTSEL2 CHSEL_B PTOUT_B
PTM2–3 16-bit mode selection
PTM2 counter mode selection
PTM2 function selection (for event counter mode)
PTM2 pulse polarity selection (for event counter mode)
Programmable timer 3 PWM output selection
Programmable timer 2 PWM output selection
General-purpose register
General-purpose register
PTM4–5 16-bit mode selection
PTM4 counter mode selection
PTM4 function selection (for event counter mode)
PTM4 pulse polarity selection (for event counter mode)
MOD16_C
EVCNT_C
FCSEL_C
PLPUL_C
0
0
0
0
16 bits
Event ct.
With NR
8 bits
Timer
No NR
R/W
FFA0H
MOD16_C EVCNT_C FCSEL_C PLPUL_C
*1 Initial value at initial reset
*3 Constantly "0" when being read
*2 Not set in the circuit