EasyManuals Logo

ARM Cortex-M3 User Manual

ARM Cortex-M3
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #104 background imageLoading...
Page #104 background image
Exceptions
5-8 Copyright © 2005-2008 ARM Limited. All rights reserved. ARM DDI 0337G
Non-Confidential
Unrestricted Access
Table 5-3 shows how writing to PRIGROUP splits an eight bit PRI_N field into a
pre-emption priority field (x) and a subpriority field (y).
Note
Table 5-3 shows the priorities for the processor configured with eight bits of
priority.
For a processor configured with less than eight bits of priority, the lower bits of
the register are always 0. For example, if four bits of priority are implemented,
PRI_N[7:4] sets the priority, and PRI_N[3:0] is 4'b0000.
An interrupt can pre-empt another interrupt in progress only if its pre-emption priority
is higher than that of the interrupt in progress.
For more information on priority optimizations, priority level grouping, and priority
masking, see the ARMv7-M Architecture Reference Manual.
Table 5-3 Priority grouping
Interrupt priority level field, PRI_N[7:0]
PRIGROUP[2:0]
Binary point
position Pre-emption field Subpriority field
Number of
pre-emption
priorities
Number of
subpriorities
b000 bxxxxxxx.y [7:1] [0] 128 2
b001 bxxxxxx.yy [7:2] [1:0] 64 4
b010 bxxxxx.yyy [7:3] [2:0] 32 8
b011 bxxxx.yyyy [7:4] [3:0] 16 16
b100 bxxx.yyyyy [7:5] [4:0] 8 32
b101 bxx.yyyyyy [7:6] [5:0] 4 64
b110 bx.yyyyyyy [7] [6:0] 2 128
b111 b.yyyyyyyy None [7:0] 0 256

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ARM Cortex-M3 and is the answer not in the manual?

ARM Cortex-M3 Specifications

General IconGeneral
ArchitectureARMv7-M
Instruction SetThumb-2
Pipeline Stages3-stage
InterruptsNested Vectored Interrupt Controller (NVIC)
Interrupt ControllerNested Vectored Interrupt Controller (NVIC)
Memory Protection UnitOptional
Power ConsumptionVaries by implementation
Max Clock SpeedUp to 100 MHz
DebuggingJTAG and Serial Wire Debug (SWD)
Operating Voltage1.8V to 3.6V
Manufacturing ProcessVaries by implementation
Core Type32-bit

Related product manuals