| 数据搜索系统,热门电子元器件搜索 |
|
ST92F124 数据表(PDF) 102 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F124 数据表(HTML) 102 Page - STMicroelectronics |
|
102 / 429 page ![]() 102/429 ST92F124/F150/F250 - INTERRUPTS 5.7 STANDARD INTERRUPTS (CAN AND SCI-A) The two on-chip CAN peripherals generate 4 inter- rupt sources each. The SCI-A interrupts are mapped on a single interrupt channel. The map- ping is shown in the following table. Table 21. Interrupt Channel Assignment 5.7.1 Functional Description The SIPRL and SIPRH registers contain the inter- rupt pending bits of the interrupt sources. The pending bits are set by hardware on occurrence of a rising edge event. The pending bits are reset by hardware when the interrupt is acknowledged. The SIMRL and SIMRH registers are used to mask the interrupt requests coming from the inter- rupt sources. Resetting the bits of these registers prevents the interrupt requests being sent to the ST9 core. The SITRL and SITRH registers are used to select the edge sensitivity of the interrupt channel (rising or falling edge). As the SCI-A and CAN interrupt events are rising edge events, all bits in the SITRL register and ITEI0 bit in SITRH register must be set to 1. The priority level of the interrupt channels can be programmed to one of eight priority levels using the SIPLRL and SIPLRH control registers. The two MSBs of the priority level are user pro- grammable. For each interrupt group, the even channels (E0, F0, G0, H0, I0) have an even priority level (LSB of priority level is zero) and the odd channels (E1, F1, G1, H1) have an odd priority lev- el (the LSB of priority level is one). See Figure 52. . Figure 52. Priority Level Examples All interrupt channels share a single interrupt vec- tor register (SIVR). Bits 1 to 4 of the SIVR register change according to the interrupt channel which has the highest priority pending interrupt request. If more than one interrupt channel has pending in- terrupt requests with the same priority, then an in- ternal daisy chain decides the interrupt channel that will be served. INTE0 is first in the internal dai- sy chain and INTI0 is last. An overrun flag is associated with each interrupt channel. If a new interrupt request comes before the earlier interrupt request is acknowledged then the corresponding overrun flag is set. Interrupt Pairs Interrupt Source INTE0 INTE1 CAN0_RX0 CAN0_RX1 INTF0 INTF1 CAN0_TX CAN0_SCE INTG0 INTG1 CAN1_RX0 CAN1_RX1 INTH0 INTH1 CAN1_TX CAN1_SCE INTI0 INTI1 SCI-A Reserved 1 00 1 00 1 PL2H PL1H PL2G PL1G PL2F PL1F PL2E PL1E INT.G1: INT.H1: 001=1 INT.G0: SOURCE PRIORITY PRIORITY SOURCE INT.E0: 010=2 INT.E1: 011=3 INT.F1: 101=5 INT.F0: 100=4 INT.H0: 000=0 IPLRL 0 100=4 101=5 9 |
|
链接网址 |
| 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 |