| 数据搜索系统,热门电子元器件搜索 |
|
ST6208LD1/OTP 数据表(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST6208LD1/OTP 数据表(HTML) 27 Page - STMicroelectronics |
|
27 / 104 page ![]() ST6208C/ST6209C/ST6210C/ST6220C 27/104 5.4 INTERRUPTS The ST6 core may be interrupted by four maska- ble interrupt sources, in addition to a Non Maska- ble Interrupt (NMI) source. The interrupt process- ing flowchart is shown in Figure 18. Maskable interrupts must be enabled by setting the GEN bit in the IOR register. However, even if they are disabled (GEN bit = 0), interrupt events are latched and may be processed as soon as the GEN bit is set. Each source is associated with a specific Interrupt Vector, located in Program space (see Table 8). In the vector location, the user must write a Jump in- struction to the associated interrupt service rou- tine. When an interrupt source generates an interrupt request, the PC register is loaded with the address of the interrupt vector, which then causes a Jump to the relevant interrupt service routine, thus serv- icing the interrupt. Interrupt are triggered by events either on external pins, or from the on-chip peripherals. Several events can be ORed on the same interrupt vector. On-chip peripherals have flag registers to deter- mine which event triggered the interrupt. Figure 17. Interrupts Block Diagram NMI ESB BIT VDD LATCH CLEARED BY H/W AT START OF VECTOR #0 ROUTINE VECTOR #0 LES BIT 1 0 LATCH CLEARED BY H/W AT START OF VECTOR #1 VECTOR #2 VECTOR #3 VECTOR #4 LATCH CLEARED BY H/W AT START OF VECTOR #2 ROUTINE I/O PORT REGISTER CONFIGURATION “INPUT WITH INTERRUPT” I/O PORT REGISTER CONFIGURATION “INPUT WITH INTERRUPT” EXIT FROM STOP/WAIT VECTOR #1 ROUTINE TIMER A/D CONVERTER * TMZ BIT ETI BIT EAI BIT EOC BIT GEN BIT PB0...PB7 PA0...PA3 (TSCR REGISTER) (ADCR REGISTER) (IOR REGISTER) (IOR REGISTER) (IOR REGISTER) * Depending on device. See device summary on page 1. 1 |
|
链接网址 |
| 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 |