| 전자부품 데이터시트 검색엔진 |
|
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 |
|
링크 URL |
| 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 |