SAM3SD8C Atmel Corporation, SAM3SD8C Datasheet - Page 44

no-image

SAM3SD8C

Manufacturer Part Number
SAM3SD8C
Description
Manufacturer
Atmel Corporation
Datasheets
10.3.3.1
10.3.3.2
10.3.3.3
10.3.3.4
44
44
SAM3S8/SD8
SAM3S8/SD8
General-purpose registers
Stack Pointer
Link Register
Program Counter
Table 10-2.
1.
2.
R0-R12 are 32-bit general-purpose registers for data operations.
The Stack Pointer (SP) is register R13. In Thread mode, bit[1] of the CONTROL register indi-
cates the stack pointer to use:
On reset, the processor loads the MSP with the value from address 0x00000000.
The Link Register (LR) is register R14. It stores the return information for subroutines, function
calls, and exceptions. On reset, the processor loads the LR value 0xFFFFFFFF
The Program Counter (PC) is register R15. It contains the current program address. Bit[0] is
always 0 because instruction fetches must be halfword aligned. On reset, the processor loads
the PC with the value of the reset vector, which is at address 0x00000004.
Name
FAULTMASK
BASEPRI
CONTROL
• 0 = Main Stack Pointer (MSP). This is the reset value.
• 1 = Process Stack Pointer (PSP).
Describes access type during program execution in thread mode and Handler mode. Debug
An entry of Either means privileged and unprivileged software can access the register.
access can differ.
Core register set summary (Continued)
Type
RW
RW
RW
(1)
Privileged
Privileged
Privileged
Required
privilege
(2)
Reset
value
0x00000000
0x00000000
0x00000000
Description
“Fault Mask Register” on page 49
“Base Priority Mask Register” on page 50
“CONTROL register” on page 51
11090A–ATARM–10-Feb-12
11090A–ATARM–10-Feb-12
.

Related parts for SAM3SD8C