參數(shù)資料
型號: XA-G39
廠商: NXP Semiconductors N.V.
英文描述: XA 16-bit microcontroller family XA 16-bit microcontroller 32K FLASH/1K RAM, watchdog, 2 UARTs
中文描述: 的XA 16位微控制器系列的XA 16位微控制器32K的FLASH/1K內(nèi)存,看門狗,2個UART
文件頁數(shù): 31/42頁
文件大?。?/td> 217K
代理商: XA-G39
Philips Semiconductors
Preliminary data
XA-G39
XA 16-bit microcontroller family
32K Flash/1K RAM, watchdog, 2 UARTs
2002 Mar 13
31
INTERRUPTS
The XA-G39 supports 38 vectored interrupt sources. These include
9 maskable event interrupts, 7 exception interrupts, 16 trap
interrupts, and 7 software interrupts. The maskable interrupts each
have 8 priority levels and may be globally and/or individually enabled
or disabled.
The XA defines four types of interrupts:
Exception Interrupts
– These are system level errors and other
very important occurrences which include stack overflow,
divide-by-0, and reset.
Event interrupts
– These are peripheral interrupts from devices
such as UARTs, timers, and external interrupt inputs.
Software Interrupts
– These are equivalent of hardware
interrupt, but are requested only under software control.
Trap Interrupts
– These are TRAP instructions, generally used to
call system services in a multi-tasking system.
Exception interrupts, software interrupts, and trap interrupts are
generally standard for XA derivatives and are detailed in the XA
User Guide Event interrupts tend to be different on different XA
derivatives.
The XA-G39 supports a total of 9 maskable event interrupt sources
(for the various XA peripherals), seven software interrupts, 5
exception interrupts (plus reset), and 16 traps. The maskable event
interrupts share a global interrupt disable bit (the EA bit in the IEL
register) and each also has a separate individual interrupt enable bit
(in the IEL or IEH registers). Only three bits of the IPA register
values are used on the XA-G39. Each event interrupt can be set to
occur at one of 8 priority levels via bits in the Interrupt Priority (IP)
registers, IPA0 through IPA5. The value 0 in the IPA field gives the
interrupt priority 0, in effect disabling the interrupt. A value of 1 gives
the interrupt a priority of 9, the value 2 gives priority 10, etc. The
result is the same as if all four bits were used and the top bit set for
all values except 0. Details of the priority scheme may be found in
the XA User Guide.
The complete interrupt vector list for the XA-G39, including all 4
interrupt types, is shown in the following tables. The tables include
the address of the vector for each interrupt, the related priority
register bits (if any), and the arbitration ranking for that interrupt
source. The arbitration ranking determines the order in which
interrupts are processed if more than one interrupt of the same
priority occurs simultaneously.
Table 8. Interrupt Vectors
EXCEPTION/TRAPS PRECEDENCE
DESCRIPTION
Reset (h/w, watchdog, s/w)
Breakpoint (h/w trap 1)
Trace (h/w trap 2)
Stack Overflow (h/w trap 3)
Divide by 0 (h/w trap 4)
User RETI (h/w trap 5)
TRAP 0– 15 (software)
VECTOR ADDRESS
0000–0003
0004–0007
0008–000B
000C–000F
0010–0013
0014–0017
0040–007F
ARBITRATION RANKING
0 (High)
1
1
1
1
1
1
EVENT INTERRUPTS
DESCRIPTION
FLAG BIT
VECTOR
ADDRESS
0080–0083
0084–0087
0088–008B
008C–008F
0090–0093
00A0–00A3
00A4–00A7
00A8–00AB
00AC–00AF
ENABLE BIT
INTERRUPT PRIORITY
ARBITRATION
RANKING
2
3
4
5
6
7
8
9
10
External interrupt 0
Timer 0 interrupt
External interrupt 1
Timer 1 interrupt
Timer 2 interrupt
Serial port 0 Rx
Serial port 0 Tx
Serial port 1 Rx
Serial port 1 Tx
IE0
TF0
IE1
TF1
EX0
ET0
EX1
ET1
ET2
ERI0
ETI0
ERI1
ETI1
IPA0.2–0 (PX0)
IPA0.6–4 (PT0)
IPA1.2–0 (PX1)
IPA1.6–4 (PT1)
IPA2.2–0 (PT2)
IPA4.2–0 (PRIO)
IPA4.6–4 (PTIO)
IPA5.2–0 (PRT1)
IPA5.6–4 (PTI1)
TF2(EXF2)
RI.0
TI.0
RI.1
TI.1
SOFTWARE INTERRUPTS
DESCRIPTION
FLAG BIT
VECTOR
ADDRESS
0100–0103
0104–0107
0108–010B
010C–010F
0110–0113
0114–0117
0118–011B
ENABLE BIT
INTERRUPT PRIORITY
Software interrupt 1
Software interrupt 2
Software interrupt 3
Software interrupt 4
Software interrupt 5
Software interrupt 6
Software interrupt 7
SWR1
SWR2
SWR3
SWR4
SWR5
SWR6
SWR7
SWE1
SWE2
SWE3
SWE4
SWE5
SWE6
SWE7
(fixed at 1)
(fixed at 2)
(fixed at 3)
(fixed at 4)
(fixed at 5)
(fixed at 6)
(fixed at 7)
相關(guān)PDF資料
PDF描述
XA-G49 XA 16-bit microcontroller family 64K FLASH/2K RAM, watchdog, 2 UARTs
XA-H3 CMOS 16-bit highly integrated microcontroller
XA-H4 Single-chip 16-bit microcontroller
XACA04SPEC0304 CONTROL STATION 4WAY
XACA06SPEC0305 CONTROL STATION 6WAY
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
XA-G49 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:XA 16-bit microcontroller family 64K FLASH/2K RAM, watchdog, 2 UARTs
XAGU-50A 制造商:Distributed By MCM 功能描述:Agu Fuses 50A, Package of 5 制造商:MCM 功能描述:AGU FUSES 50A 5 PACK
XAGU-60A 制造商:Distributed By MCM 功能描述:Agu Fuses 60A, Package of 5 制造商:MCM 功能描述:AGU FUSES 60A 5 PACK
XAGU-80A 制造商:Distributed By MCM 功能描述:Agu Fuses 80A, Package of 5 制造商:MCM 功能描述:AGU FUSES 80A 5 PACK
XA-H3 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:CMOS 16-bit highly integrated microcontroller