16 16-BIT PWM TIMERS (T16A3)
16-16
Seiko epson Corporation
S1C17F13 TeChniCal Manual
(Rev. 1.0)
In capture mode (T16A
n
CCCTL.CCBMD bit = 1), this register is configured as the capture B register
and the counter value captured by the external trigger signal (CAPB
n
) is loaded.
Note: When writing data to the T16A
n
CCB register successively, data should be written at intervals of
one or more T16A3 count clock cycles.
T16a3 Ch.
n
interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16A
n
INTF
15–8 –
0x00
–
R
–
7–6 –
0x0
–
R
5
CAPBOWIF
0
H0
R/W Cleared by writing 1.
4
CAPAOWIF
0
H0
R/W
3
CAPBIF
0
H0
R/W
2
CAPAIF
0
H0
R/W
1
CMPBIF
0
H0
R/W
0
CMPAIF
0
H0
R/W
Bits 15–6 Reserved
Bit 5
CaPBOWiF
Bit 4
CaPaOWiF
Bit 3
CaPBiF
Bit 2
CaPaiF
Bit 1
CMPBiF
Bit 0
CMPaiF
These bits indicate the T16A3 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:
T16A
n
INTF.CAPBOWIF bit: Capture B overwrite interrupt
T16A
n
INTF.CAPAOWIF bit: Capture A overwrite interrupt
T16A
n
INTF.CAPBIF bit:
Capture B interrupt
T16A
n
INTF.CAPAIF bit:
Capture A interrupt
T16A
n
INTF.CMPBIF bit:
Compare B interrupt
T16A
n
INTF.CMPAIF bit:
Compare A interrupt
T16a3 Ch.
n
interrupt enable Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
T16A
n
INTE
15–8 –
0x00
–
R
–
7–6 –
0x0
–
R
5
CAPBOWIE
0
H0
R/W
4
CAPAOWIE
0
H0
R/W
3
CAPBIE
0
H0
R/W
2
CAPAIE
0
H0
R/W
1
CMPBIE
0
H0
R/W
0
CMPAIE
0
H0
R/W
Bits 15–6 Reserved