English
Language : 

SAB80515 Datasheet, PDF (94/270 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller Family
On-Chip Peripheral Components
Figure 7-40
Special Function Register CCEN
0C1H COCAH3 COCAL3 COCAH2 COCAI2 COCAH1 COCAL1 COCAH0 COCAL0 CCEN
Compare/capture enable register selects compare or capture function for register CRC, CC1 to
CC3.
Bit
COCAH0
0
0
1
1
COCAH1
0
0
1
1
COCAH2
0
0
1
1
COCAH3
0
0
1
1
COCAL0
0
1
0
1
COCAL1
0
1
0
1
COCAL2
0
1
0
1
COCAL3
0
1
0
1
Function
Compare/capture mode for CRC register
Compare/capture disabled
Capture on falling/rising edge at pin
P1.0/INT3/CC0
Compare enabled
Capture on write operation into register CRCL
Compare/capture mode for CC register 1
Compare/capture disabled
Capture on rising edge at pin P1.1/INT4/CC1
Compare enabled
Capture on write operation into register CCL1
Compare/capture mode for CC register 2
Compare/capture disabled
Capture on rising edge at pin P1.2/INT5/CC2
Compare enabled
Capture on write operation into register CCL2
Compare/capture mode for CC register 3
Compare/capture disabled
Capture on rising edge at pin P1.3/INT6/CC3
Compare enabled
Capture on write operation into register CCL3
7.5.2.3 Using Interrupts in Combination with the Compare Function
The compare service of registers CRC, CC1, CC2 and CC3 is assigned to alternate output functions
at port pins P1.0 to P1.3. Another option of these pins is that they can be used as external interrupt
inputs. However, when using the port lines as compare outputs then the input line from the port pin
to the interrupt system is disconnected (but the pin’s level can still be read under software control).
Thus, a change of the pin’s level will not cause a setting of the corresponding interrupt flag. In this
case, the interrupt input is directly connected to the (internal) compare signal thus providing a
compare interrupt.
Semiconductor Group
94