
Semiconductor Group 5 - 10
On-Chip Peripheral Components
Special Function Register CC4EN
The reset value of SFR CC4EN is 00
H
.
Bit Function
COCON2
COCON1
COCON0
Selects number of compare outputs at P5 (for compare modes 1 and 2);
see table 2-2
COCAH4
COCAL4
00
01
10
11
Compare/capture mode for register CC4 and compare modes 1 and 2 at P5
Compare/capture at CC4 disabled
Capture on falling/rising edge at pin P1.4/INT2
/CC4
Compare enabled at CC4
Capture on write operation into register CCL4
COCOEN1
COCOEN0
Selection of compare modes 1 and 2 at P5; valid only in combination with
certain configurations in COCAH4, COCAL4; see table 2-3
Setting of bit COCOEN0 automatically sets COM0
COM0 Compare Mode for register CC4
COM0 = 0 selects compare mode 0
COM0 = 1 selects compare mode 1
Setting of bit COCOEN0 automatically sets COM0
COCON2 COCON1 COCON0 Function
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
One additional output of CC4 at P5.0
Additional outputs of CC4 at P5.0 to P5.1
Additional outputs of CC4 at P5.0 to P5.2
Additional outputs of CC4 at P5.0 to P5.3
Additional outputs of CC4 at P5.0 to P5.4
Additional outputs of CC4 at P5.0 to P5.5
Additional outputs of CC4 at P5.0 to P5.6
Additional outputs of CC4 at P5.0 to P5.7
76543210
MSB LSBBit No.
CC4EN0C9
H
COCOEN1 COCON2 COCON1COCON0 COCOEN0 COCAH4 COCAL4 COM0
Kommentare zu diesen Handbüchern