| 数据搜索系统,热门电子元器件搜索 |
|
ST7294 数据表(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7294 数据表(HTML) 15 Page - STMicroelectronics |
|
15 / 69 page ![]() 15/69 ST7294 3.4.4 PORTC Interrupt The PORTC Interrupt can be generated on the falling edge of one of pins PC0-PC5, if it is defined as an interrupt source. When an enabled interrupt occurs, normal processing is suspended at the end of the current instruction execution. It is then processed according to the flowchart on Figure 11. If the interrupt is disabled (I high), the triggering edge of the wake-up interrupt is internally latched and the interrupt remains pending, to be proc- essed as soon as the interrupt is enabled. This in- ternal latch is cleared in the first part of the service routine. Therefore one, and only one, external in- terrupt can be latched and serviced at any instant. 3.4.5 Timer Interrupt Two different timer interrupt flags are capable of causing a timer interrupt when they are active, if both the I bit of the CCR is reset, and if the corre- sponding enable bit is set. If either of these condi- tions is false, the interrupt is latched and thus re- mains pending. The interrupt flags are located in the Timer Status Register (0013h). The Enable bit are in the Timer Control Register (0012h). When an enabled interrupt occurs, normal processing is suspended at the end of the current instruction execution. It is then serviced according to the flowchart on Figure 11. Software in the Tim- er Service Routine must determine the priority and cause of the timer interrupt by examining the inter- rupt flags and the status bits located in the TSR. The general sequence for clearing an interrupt is an access to the status register while the flag is set followed by a read or write of an associated register. Note that the clearing sequence resets the internal latch. A pending interrupt (i.e. waiting for being enabled) will therefore be lost if the clear sequence is executed. Refer to Section 4.3 16-BIT TIMER, for further in- formation. INTERRUPTS (Continued) Table 5. External Interrupt Options INTP INTN External Interrupt Options 0 0 1 1 0 1 0 1 Negative edge and low-level sensitive Negative edge sensitive only Positive edge sensitive only Positive and negative edge sensitive |
|
链接网址 |
| 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 |