
III PERIPHERAL BLOCK: 8-BIT PROGRAMMABLE TIMERS
B-III-3-12
EPSON
S1C33L01 FUNCTION PART
Name
Address
Register name
Bit
Function
Setting
Init.
R/W
Remarks
–
IOC16
IOC15
IOC14
IOC13
IOC12
IOC11
IOC10
D7
D6
D5
D4
D3
D2
D1
D0
reserved
P16 I/O control
P15 I/O control
P14 I/O control
P13 I/O control
P12 I/O control
P11 I/O control
P10 I/O control
–
0
–
R/W
0 when being read.
00402D6
(B)
1 Output
0 Input
–
P1 I/O control
register
CFEX7
CFEX6
CFEX5
CFEX4
CFEX3
CFEX2
CFEX1
CFEX0
D7
D6
D5
D4
D3
D2
D1
D0
P07 port extended function
P06 port extended function
P05 port extended function
P04 port extended function
P31 port extended function
P21 port extended function
P10, P11, P13 port extended
function
P12, P14 port extended function
0
1
R/W
00402DF
(B)
Port function
extension
register
1 #DMAEND3 0 P07, etc.
1 #DMAACK3 0 P06, etc.
1 #DMAEND2 0 P05, etc.
1 #DMAACK2 0 P04, etc.
1 #GARD
0 P31, etc.
1 #GAAS
0 P21, etc.
1 DST0
DST1
DPC0
0 P10, etc.
P11, etc.
P13, etc.
1 DST2
DCLK
0 P12, etc.
P14, etc.
CFP13–CFP10: P1[3:0] pin function selection (D[3:0]) / P1 function select register (0x402D4)
Selects the pin that is used to output a timer underflow signal to external devices.
Write "1": Underflow signal output pin
Write "0": I/O port pin
Read: Valid
Select the pin used to output a timer underflow signal to external devices from among P10 through P13 by writing
"1" to the corresponding bit, CFP10 through CFP13. P10 through P13 correspond to timers 0 through 3,
respectively. If "0" is written to CFP1x, the pin is set for an I/O port.
At cold start, CFP1x is set to "0" (I/O port). At hot start, the bit retains its state from prior to the initial reset.
IOC13–IOC10: P1[3:0] port I/O control (D[3:0]) / P1 I/O control register (0x402D6)
Sets input or output mode for P10 through P13.
Write "1": Output mode
Write "0": Input mode
Read: Valid
If a pin chosen from among P10 through P13 is used to output an underflow signal, write "1" to the corresponding
I/O control bit to set it to output mode. If the pin is set to input mode, even if its CFP1x is set to "1", it functions as
the event counter input pin of a 16-bit programmable timer cannot be used to output a timer underflow signal.
At cold start, IOC1x is set to "0" (input mode). At hot start, the bit retains its state from prior to the initial reset.