LM3S600 Bookham Technology, Inc., LM3S600 Datasheet - Page 36

no-image

LM3S600

Manufacturer Part Number
LM3S600
Description
Microcontroller
Manufacturer
Bookham Technology, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S600
Manufacturer:
DSP
Quantity:
513
Part Number:
LM3S600-EQN50-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S600-EQN50-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S600-IQN50-C2
Manufacturer:
TI
Quantity:
1 001
Part Number:
LM3S600-IQN50-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S600-IQN50-C2
Manufacturer:
TI/德州仪器
Quantity:
20 000
Part Number:
LM3S600-IQN50-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Interrupts
4
36
Interrupts
The ARM Cortex-M3 processor and the Nested Vectored Interrupt Controller (NVIC) prioritize and
handle all exceptions. All exceptions are handled in Handler Mode. The processor state is
automatically stored to the stack on an exception, and automatically restored from the stack at the
end of the Interrupt Service Routine (ISR). The vector is fetched in parallel to the state saving, which
enables efficient interrupt entry. The processor supports tail-chaining, which enables back-to-back
interrupts to be performed without the overhead of state saving and restoration.
Table 4-1 on page 36 lists all the exceptions. Software can set eight priority levels on seven of these
exceptions (system handlers) as well as on 21 interrupts (listed in Table 4-2 on page 37).
Priorities on the system handlers are set with the NVIC System Handler Priority registers. Interrupts
are enabled through the NVIC Interrupt Set Enable register and prioritized with the NVIC Interrupt
Priority registers. You can also group priorities by splitting priority levels into pre-emption priorities
and subpriorities. All the interrupt registers are described in Chapter 8, “Nested Vectored Interrupt
Controller” in the ARM® Cortex™-M3 Technical Reference Manual.
Internally, the highest user-settable priority (0) is treated as fourth priority, after a Reset, NMI, and
a Hard Fault. Note that 0 is the default priority for all the settable priorities.
If you assign the same priority level to two or more interrupts, their hardware priority (the lower the
position number) determines the order in which the processor activates them. For example, if both
GPIO Port A and GPIO Port B are priority level 1, then GPIO Port A has higher priority.
See Chapter 5, “Exceptions” and Chapter 8, “Nested Vectored Interrupt Controller” in the ARM®
Cortex™-M3 Technical Reference Manual for more information on exceptions and interrupts.
Note:
Table 4-1. Exception Types
Exception Type
-
Reset
Non-Maskable
Interrupt (NMI)
Hard Fault
Memory Management
Bus Fault
Usage Fault
-
SVCall
In Table 4-2 on page 37 interrupts not listed are reserved.
Position
7-10
11
0
1
2
3
4
5
6
Priority
-3 (highest)
settable
settable
settable
settable
-2
-1
-
-
a
Preliminary
Description
Stack top is loaded from first entry of vector table on reset.
Invoked on power up and warm reset. On first instruction, drops to lowest
priority (and then is called the base level of activation). This is
asynchronous.
Cannot be stopped or preempted by any exception but reset. This is
asynchronous.
An NMI is only producible by software, using the NVIC Interrupt Control
State register.
All classes of Fault, when the fault cannot activate due to priority or the
configurable fault handler has been disabled. This is synchronous.
MPU mismatch, including access violation and no match. This is
synchronous.
The priority of this exception can be changed.
Pre-fetch fault, memory access fault, and other address/memory related
faults. This is synchronous when precise and asynchronous when
imprecise.
You can enable or disable this fault.
Usage fault, such as undefined instruction executed or illegal state
transition attempt. This is synchronous.
Reserved.
System service call with SVC instruction. This is synchronous.
October 01, 2007

Related parts for LM3S600