14 16-BIT PWM TIMERS (T16B)
14-26
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
T16B Ch.
n
Interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16BnINTF
15–14 –
0x0
–
R
–
13 CAPOW5IF
0
H0
R/W Cleared by writing 1.
12 CMPCAP5IF
0
H0
R/W
11 CAPOW4IF
0
H0
R/W
10 CMPCAP4IF
0
H0
R/W
9
CAPOW3IF
0
H0
R/W
8
CMPCAP3IF
0
H0
R/W
7
CAPOW2IF
0
H0
R/W
6
CMPCAP2IF
0
H0
R/W
5
CAPOW1IF
0
H0
R/W
4
CMPCAP1IF
0
H0
R/W
3
CAPOW0IF
0
H0
R/W
2
CMPCAP0IF
0
H0
R/W
1
CNTMAXIF
0
H0
R/W
0
CNTZEROIF
0
H0
R/W
Bits 15–14 Reserved
Bit 13
CAPOW5IF
Bit 12
CMPCAP5IF
Bit 11
CAPOW4IF
Bit 10
CMPCAP4IF
Bit 9
CAPOW3IF
Bit 8
CMPCAP3IF
Bit 7
CAPOW2IF
Bit 6
CMPCAP2IF
Bit 5
CAPOW1IF
Bit 4
CMPCAP1IF
Bit 3
CAPOW0IF
Bit 2
CMPCAP0IF
Bit 1
CNTMAXIF
Bit 0
CNTZEROIF
These bits indicate the T16B Ch.
n
interrupt cause occurrence status.
1 (R):
Cause of interrupt occurred
0 (R):
No cause of interrupt occurred
1 (W):
Clear flag
0 (W):
Ineffective
The following shows the correspondence between the bit and interrupt:
T16B
n
INTF.CAPOW5IF bit: Capture 5 overwrite interrupt
T16B
n
INTF.CMPCAP5IF bit: Compare/capture 5 interrupt
T16B
n
INTF.CAPOW4IF bit: Capture 4 overwrite interrupt
T16B
n
INTF.CMPCAP4IF bit: Compare/capture 4 interrupt
T16B
n
INTF.CAPOW3IF bit: Capture 3 overwrite interrupt
T16B
n
INTF.CMPCAP3IF bit: Compare/capture 3 interrupt
T16B
n
INTF.CAPOW2IF bit: Capture 2 overwrite interrupt
T16B
n
INTF.CMPCAP2IF bit: Compare/capture 2 interrupt
T16B
n
INTF.CAPOW1IF bit: Capture 1 overwrite interrupt
T16B
n
INTF.CMPCAP1IF bit: Compare/capture 1 interrupt
T16B
n
INTF.CAPOW0IF bit: Capture 0 overwrite interrupt
T16B
n
INTF.CMPCAP0IF bit: Compare/capture 0 interrupt
T16B
n
INTF.CNTMAXIF bit: Counter MAX interrupt
T16B
n
INTF.CNTZEROIF bit: Counter zero interrupt
Note: The configuration of the T16BnINTF.CAPOWmIF and T16BnINTF.CMPCAPmIF bits depends
on the model. The bits corresponding to the comparator/capture circuits that do not exist
are read-only bits and are always fixed at 0.