![Infineon Technologies TC1796 User Manual Download Page 924](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_2055437924.webp)
TC1796
System Units (Vol. 1 of 2)
System Timer
User’s Manual
15-7
V2.0, 2007-07
STM, V2.0
The compare match interrupt flags STM_ICR.CMPxIR are immediately set after an STM
reset operation, caused by a compare match event with the reset values of the STM and
the compare registers STM_CMPx. This setting of the CMPxIR flags does not directly
generate compare match interrupts because the compare match interrupts are
automatically disabled after an STM reset (CMPxEN = 0). Therefore, before enabling a
compare match interrupt after an STM reset, the CMPxIR flags should be cleared by
software (writing register STM_ISSR with CMPxIRR set). Otherwise, undesired compare
match interrupt events are triggered accidentally.
15.3
Kernel Registers
This section describes the kernel registers of the STM. The STM registers can be divided
into four types, as shown in
.
Note: In the TC1796, all kernel registers are readable in suspend mode.
STM Registers Overview
Figure 15-4 STM Registers
The complete and detailed address map of the STM module with its registers is shown
in
.
Table 15-2
Registers Address Space
Module
Base Address
End Address
Note
STM
F000 0200
H
F000 02FF
H
-
MCA05749_mod
STM_TIM0
Timer/Capture
Registers
STM_TIM1
STM_TIM2
STM_TIM3
STM_TIM4
STM_TIM5
STM_TIM6
STM_CAP
Compare
Registers
STM_CMP0
STM_CMP1
Interrupt
Registers
STM_ICR
STM_ISRR
STM_CMCON
General Module
Registers
STM_CLC
STM_SRC0
STM_SRC1
STM_ID