English
Language : 

C508_01 Datasheet, PDF (216/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
Interrupt System
Special Function Register CCIR (Address E5H)
Reset Value: 00H
Bit No. MSB
7
6
5
E5H CT1FP CT1FC CC2F
4
CC2R
3
CC1F
2
CC1R
1
CC0F
LSB
0
CC0R
CCIR
CAPCOM
Channel 2
CAPCOM
Channel 1
CAPCOM
Channel 0
Bit
CT1FP
CT1FC
CCxR
x=0-2
CCxF
x=0-2
Function
Compare Timer 1 period flag
Compare Timer 1 operating mode 0:
CT1FP is set if Compare Timer 1 reaches the period value.
Compare Timer 1 operating mode 1:
CT1FP is set if Compare Timer 1 reaches the period value and
changes the count direction from up- to down counting.
Bit CT1FP must be cleared by software. If Compare Timer 1 interrupt
is enabled, the setting of CT1FP will generate a Compare Timer 1
interrupt.
Compare Timer 1 count direction change flag
This flag can only be set if Compare Timer 1 runs in operating mode 1
(CTM = 1). CT1FC is set when Compare Timer 1 reaches count value
0000H and changes the count direction from down- to up-counting. If
Compare Timer 1 interrupt is enabled, the setting of CT1FC will
generate a Compare Timer 1 interrupt.
Bit CT1FC must be cleared by software.
Capture/Compare match on up-count flag
Capture Mode: CCxR is set at a low-to-high transition (rising edge)
of the corresponding CCx capture input signal.
Compare Mode: CCxR is set if the Compare Timer 1 value matches
the compare register CCx value during the up-count
phase.
Capture/Compare match on down-count flag
Capture Mode: CCxF is set at a high-to-low transition (falling edge)
of the corresponding CCx capture input signal.
Compare Mode: CCxF is set if the Compare Timer 1 value matches
the compare register CCx value during the down-
count phase (only in Compare Timer 1 operating
mode 1).
User’s Manual
7-18
2001-05