| 数据搜索系统,热门电子元器件搜索 |
|
ST52T410 数据表(PDF) 32 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52T410 数据表(HTML) 32 Page - STMicroelectronics |
|
32 / 84 page ![]() ST52T410/ST52T420/E420 32/84 Figure 4.6 Example of a sequence of Interrupt requests Note: The Interrupt priority must be fixed at the beginning of the main program because at the RESET REG_CONF1=’00000000’ it could generate erroneous operations. During program execution the interrupt priority can only be modified with the following procedure: STEP 1: Mask theinterruptsbymeansofaUDGI (or MDGI) instruction STEP 2: Change the REG_CONF 1 values to modify the interrupt priority STEP 3: Reset all the pending interrupt instructions by means of RINT instructions. STEP 4: Unmask theinterruptsbymeansofaUEGI (or MEGI) instruction When a source provides an Interrupt request and the request processing is also enabled, the CU changes the normal sequential flow of a program by transferring program control to a selected service routine. When an interrupt occurs the CU executes a JUMP instruction to the address loaded in the related location of the Interrupt Vector. When the execution returns to the original program it immediately begins following the instruction that was interrupted. (*) ST52x420 only Table 4.4 RINT Instruction code Peripheral Name Value INT_ADC (*) 0 PWM/TIMER 0 1 PWM/TIMER 1 2 PWM/TIMER 2 3 INT_EXT 4 MAIN PROGRAM 5 4 3 2 1 0 PRI2 PRI0 PRI2 PRI1 PRI2 PRI3 PRI4 MAIN PROGRAM PRIORITY LEVEL PRI2 PRI0 PRI4 PRI1 PRI3 |
|
链接网址 |
| 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 |