![Infineon Technologies TC1796 Скачать руководство пользователя страница 935](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_2055437935.webp)
TC1796
System Units (Vol. 1 of 2)
System Timer
User’s Manual
15-18
V2.0, 2007-07
STM, V2.0
15.3.4
Interrupt Registers
The two compare match interrupts of the STM are controlled by the STM Interrupt
Control Register.
STM_ICR
STM Interrupt Control Register
(3C
H
)
Reset Value: 0000 0000
H
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
CMP
1
OS
CMP
1
IR
CMP
1
EN
0
CMP
0
OS
CMP
0
IR
CMP
0
EN
r
rw
rh
rw
r
rw
rh
rw
Field
Bits
Type Description
CMP0EN
0
rw
Compare Register CMP0 Interrupt Enable Control
This bit enables the compare match interrupt with
compare register CMP0.
0
B
Interrupt on compare match with CMP0 disabled
1
B
Interrupt on compare match with CMP0 enabled
CMP0IR
1
rh
Compare Register CMP0 Interrupt Request Flag
This bit indicates whether or not a compare match
interrupt request of compare register CMP0 is pending.
CMP0IR must be cleared by software.
0
B
A compare match interrupt has not been detected
since the bit has been cleared for the last time.
1
B
A compare match interrupt has been detected.
CMPIR0 must be cleared by software and can be set by
software, too (see CMPISRR register). After an STM
reset, CMP0IR is immediately set as the result of a
compare match event with the reset values of the STM
and the compare register CMP0.