English
Language : 

C508_01 Datasheet, PDF (217/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
Interrupt System
Special Function Registers CCIE (Address D6H)
Bit No. MSB
7
6
5
4
3
2
Reset Value: 00H
LSB
1
0
D6H ECTP ECTC CC2FEN CC2REN CC1FEN CC1REN CC0FEN CC0REN CCIE
Bit
Function
ECTP
Enable Compare Timer 1 period interrupt
If ECTP = 0, the compare timer 1 period interrupt is disabled.
Compare Timer 1 operating mode 0:
If ECTP = 1, an interrupt is generated when Compare Timer 1 reaches the
period value.
Compare Timer 1 operating mode 1:
If ECTP = 1, an interrupt is generated when Compare Timer 1 reaches the
period value and changes the count direction from up- to down-counting.
ECTC Enable Compare Timer 1 count direction change interrupt status
If ECTC = 0, the Compare Timer 1 count change interrupt is disabled.
Compare Timer 1 operating mode 0:
Bit has no effect on the interrupt generation.
Compare Timer 1 operating mode 1:
If ECTC = 1, an interrupt is generated when Compare Timer 1 reaches count
value 0000H and changes its count direction from down- to up-counting.
CCxREN Capture/Compare rising edge interrupt enable
(x = 0-2) Capture Mode: If CCxREN is set, an interrupt is generated at a low-to-high
transition (rising edge) of the corresponding CCx input
signal.
Compare Mode: If CCxREN is set, an interrupt is generated if the Compare
Timer 1 value matches the compare register CCx value
during the up-counting phase of the Compare Timer 1. This
function is available in both Compare Timer 1 operating
modes.
CCxFEN
(x = 0-2)
Capture/Compare falling edge interrupt enable
Capture Mode: If CCxFEN is set, an interrupt is generated at a high-to-low
transition (falling edge) of the corresponding CCx input
signal.
Compare Mode: If CCxFEN is set, an interrupt is generated only in compare
timer mode 1 if the Compare Timer 1 value matches the
compare register CCx value during the down-counting
phase of the Compare Timer 1. This function is available
only in Compare Timer 1 operating mode 1.
User’s Manual
7-19
2001-05