DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST92250V2TC View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
ST92250V2TC Datasheet PDF : 429 Pages
First Prev 101 102 103 104 105 106 107 108 109 110 Next Last
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
Interrupt Pairs
INTE0
INTE1
INTF0
INTF1
INTG0
INTG1
INTH0
INTH1
INTI0
INTI1
Interrupt Source
CAN0_RX0
CAN0_RX1
CAN0_TX
CAN0_SCE
CAN1_RX0
CAN1_RX1
CAN1_TX
CAN1_SCE
SCI-A
Reserved
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
PL2H PL1H PL2G PL1G PL2F PL1F PL2E PL1E
1 0 0 0 1 0 0 1 IPLRL
SOURCE PRIORITY
INT.G0: 100=4
INT.G1: 101=5
SOURCE PRIORITY
INT.E0: 010=2
INT.E1: 011=3
INT.H0: 000=0
INT.H1: 001=1
INT.F0: 100=4
INT.F1: 101=5
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.
102/429
9

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]