DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST52T441 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
ST52T441 Datasheet PDF : 94 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
ST52T400/T440/E440/T441
gram, the flags are restored and the program con-
tinues from the instruction immediately following
the interrupted instruction.
4.6 Interrupts and Low power mode
All interrupts allow the processor to leave WAIT
mode. Only an External Interrupt request allows
the processor to leave HALT mode: if the interrupt
is masked, the related interrupt routine is not ser-
viced and the program continues from the first
instruction after the HALT instruction.
4.7 Interrupt RESET
When an interrupt request is sent but the interrupt
is masked, it isn’t serviced and remains pending,
so that when the interrupt is enabled it is serviced
immediately. In order to avoid this from happen-
ing, the pending interrupt request can be reset
with the instruction RINT j, which resets the
interrupt j-th where j identify the peripherals as
described in the following table (see Table 4.4).
The assembler instruction:
WARNING: If an interrupt is reset, with the RINT
instruction within its own interrupt routine, the
priority level of the interrupt becomes the lowest
and the routine can be immediately interrupted by
a lower priority interrupt request.
Table 4.4 RINT Instruction Code
Peripheral Name
Analog Comparator (*)
PWM/TIMER
TRIAC/F
INT_TRIAC/R
INT_TRIAC/P
External Interrupt
(*) Not Used in ST52x400 devices
Value
0
1
2
3
4
5
RINT 2
Resets the TRIAC/PWM_F interrupt.
Figure 4.6 Example of a sequence of Interrupt Requests
PRIORITY
LEVEL
0
1
2
3
4
5
INT2 INT0 INT4 INT1
INT3
INT0
INT1
INT2
INT2
INT2
INT3
INT4
6
MAIN PROGRAM
MAIN PROGRAM
41/94

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]