C509-L_97 SIEMENS [Siemens Semiconductor Group], C509-L_97 Datasheet - Page 142

no-image

C509-L_97

Manufacturer Part Number
C509-L_97
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
6.3.4.5
The compare mode 2 of the CCU can be used for the concurrent compare output function at port 5.
In compare mode 2, the port 5 pins are no longer general purpose I/O pins or under control of the
compare/capture register CC4, but under control of the compare registers COMSET and COMCLR.
The details of compare mode 2 are already described in section 6.3.3.3. Figure 6-33 shows the
complete compare mode 2 configuration of the CCU and the port 5 pins.
Figure 6-33
Compare Mode 2 (Port 5 only)
The compare registers COMSET and COMCLR have their dedicated interrupt vectors. The
corresponding request flags are ICS for register COMSET and ICR for register COMCLR. The flags
are set by a match in registers COMSET and COMCLR, when enabled. As long as the match
condition is valid the request flags can't be reset (neither by hardware nor software). The request
flags are located in SFR CTCON.
Semiconductor Group
Int.
Request
Vector
00A3
Timer 2 Operating in Compare Mode 2
ICS
H
Comparator
ECS
(IEN2.4)
COMSET
Int.
Request
Vector
00AB
Timer II
ICR
H
Comparator
ECS
(IEN2.5)
COMCLR
SETMSK
CLRMSK
Bit 0
Bit 1
Bit 2
Bit 7
Bit 0
Bit 1
Bit 2
Bit 7
6-64
On-Chip Peripheral Components
S
R
S Q
R
S Q
R
Q
P5.0
P5.1
P5.7
Number
of Pins
for this
function is
selectable
from
1 to 8
by Bit
COCOEN0-2
(in CC4EN).
MCB02249
1997-10-01
C509-L

Related parts for C509-L_97