| 数据搜索系统,热门电子元器件搜索 |
|
ST52T400 数据表(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52T400 数据表(HTML) 41 Page - STMicroelectronics |
|
41 / 94 page ![]() ST52T400/T440/E440/T441 41/94 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: RINT 2 Resets the TRIAC/PWM_F interrupt. 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. (*) Not Used in ST52x400 devices Figure 4.6 Example of a sequence of Interrupt Requests Table 4.4 RINT Instruction Code Peripheral Name Value Analog Comparator (*) 0 PWM/TIMER 1 TRIAC/F 2 INT_TRIAC/R 3 INT_TRIAC/P 4 External Interrupt 5 MAIN PROGRAM 5 4 3 2 1 0 INT2 INT0 INT2 INT1 INT2 INT3 INT4 MAIN PROGRAM PRIORITY LEVEL INT2 INT0 INT4 INT1 INT3 6 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |