SAM3S8C Atmel Corporation, SAM3S8C Datasheet - Page 42
SAM3S8C
Manufacturer Part Number
SAM3S8C
Description
Manufacturer
Atmel Corporation
- Current page: 42 of 1143
- Download datasheet (20Mb)
10.3.1.4
10.3.2
42
42
SAM3S8/SD8
SAM3S8/SD8
Stacks
Privileged
Unprivileged software executes at the unprivileged level.
The software can use all the instructions and has access to all resources.
Privileged software executes at the privileged level.
In Thread mode, the CONTROL register controls whether software execution is privileged or
unprivileged, see
always privileged.
Only privileged software can write to the CONTROL register to change the privilege level for
software execution in Thread mode. Unprivileged software can use the SVC instruction to make
a supervisor call to transfer control to privileged software.
The processor uses a full descending stack. This means the stack pointer indicates the last
stacked item on the stack memory. When the processor pushes a new item onto the stack, it
decrements the stack pointer and then writes the item to the new memory location. The proces-
sor implements two stacks, the main stack and the process stack, with independent copies of
the stack pointer, see
In Thread mode, the CONTROL register controls whether the processor uses the main stack or
the process stack, see
uses the main stack. The options for processor operations are:
Table 10-1.
Note:
Processor
mode
Thread
Handler
• cannot access the system timer, NVIC, or system control block
• might have restricted access to memory or peripherals.
1.
“CONTROL register” on page 51
Summary of processor mode, execution privilege level, and stack use options
Used to
execute
Applications
Exception handlers
“CONTROL register” on page
“Stack Pointer” on page
“CONTROL register” on page
Privilege level for
software execution
Privileged or unprivileged
Always privileged
44.
51. In Handler mode, software execution is
51. In Handler mode, the processor always
(1)
Stack used
Main stack or process stack
Main stack
11090A–ATARM–10-Feb-12
11090A–ATARM–10-Feb-12
(1)
Related parts for SAM3S8C
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
ARM-based Flash MCU
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: