SIC63616-(Rev. 1.0) NO. P56
3240-0412
ERF1, ERF0: R/f conversion select register (FF60H•D1, D0)
Selects the function for P00–P03.
When using the R/f converter, write "01B–11B" to this register and when P00–P03 are used as I/O ports,
write "00B". Furthermore, when the RFOUT terminal is disabled (RFOUT = "0"), P03 can be used as an I/O
port even if the R/f converter is used.
At initial reset, this register is set to "0".
EDIR: Direct input function enable register (FF48H•D0)
Enables the direct input (RUN/LAP) function.
When "1" is written: Enabled
When "0" is written: Disabled
Reading: Valid
The direct input function of the stopwatch timer is enabled by writing "1" to EDIR, and the P10 and P11
ports are set for the RUN/STOP and LAP key input ports. When "0" is written to EDIR, the direct input
function is disabled, and P10 and P11 can be used as I/O ports.
At initial reset, this register is set to "0".
EVCNT_A: PTM0 counter mode select register (FF80H•D2)
EVCNT_B: PTM2 counter mode select register (FF90H•D2)
EVCNT_C: PTM4 counter mode select register (FFA0H•D2)
EVCNT_D: PTM6 counter mode select register (FFB0H•D2)
Selects a counter mode for programmable timer 0/2/4/6.
When "1" is written: Event counter mode
When "0" is written: Timer mode
Reading: Valid
When "1" is written to the EVCNT_A/B/C/D register, programmable timer 0/2/4/6 is placed into event
counter mode. In this mode, P12/P41/P42/P43 is used as an external clock input port for the event counter.
When "0" is written to EVCNT_A/B/C/D, P12/P41/P42/P43 can be used as an I/O port.
At initial reset, these registers are set to "0".
(2) I/O port control
P00–P03: P0 I/O port data register (FF20H)
P10–P13: P1 I/O port data register (FF24H)
P20–P23: P2 I/O port data register (FF28H)
P40–P43: P4 I/O port data register (FF30H)
I/O port data can be read and output data can be set through these registers.
• When writing data
When "1" is written: High level
When "0" is written: Low level
When an I/O port is placed into output mode, the written data is output unchanged from the I/O port
terminal. When "1" is written as port data, the port terminal goes high (V
DD
), and when "0" is written, the
terminal goes low (V
SS
).
Port data can be written also in the input mode.
Содержание S1C63616
Страница 1: ...S1C63616 Technical Manual Rev 1 0 ...