The 17 registers of SystemControl (System Control Registers), from 0xE000E008, with their reset value and every field. The ATSAMG51N18 has 569 registers in 26 peripherals, one page each.
SystemControl System Control Registers
ACTLRAuxiliary Control Register,
Address
0xE000E008
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
DISFOLD
2
Disables folding of IT instructions.
DISDEFWBUF
1
Disables write buffer use during default memory map accesses.
DISMCYCINT
0
Disables interruption of multi-cycle instructions.
CPUIDCPUID Base Register
Address
0xE000ED00
Reset
0x410FC240
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
VARIANT
23:20
Indicates processor revision: 0x2 = Revision 2
PARTNO
15:4
Indicates part number
REVISION
3:0
Indicates patch release: 0x0 = Patch 0
IMPLEMENTER
31:24
Implementer code
ICSRInterrupt Control and State Register
Address
0xE000ED04
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
Field
Bits
What it does
PENDSVSET
28
no description available
0 write: no effect; read: PendSV exception is not pending
1 write: changes PendSV exception state to pending; read: PendSV exception is pending
PENDSVCLR
27
no description available
0 no effect
1 removes the pending state from the PendSV exception
PENDSTSET
26
no description available
0 write: no effect; read: SysTick exception is not pending
1 write: changes SysTick exception state to pending; read: SysTick exception is pending
PENDSTCLR
25
no description available
0 no effect
1 removes the pending state from the SysTick exception
ISRPREEMPT
23
no description available
0 Will not service
1 Will service a pending exception
ISRPENDING
22
no description available
VECTPENDING
17:12
Exception number of the highest priority pending enabled exception
RETTOBASE
11
no description available
0 there are preempted active exceptions to execute
1 there are no active exceptions, or the currently-executing exception is the only active exception
VECTACTIVE
8:0
Active exception number
NMIPENDSET
31
no description available
0 write: no effect; read: NMI exception is not pending
1 write: changes NMI exception state to pending; read: NMI exception is pending
VTORVector Table Offset Register
Address
0xE000ED08
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
TBLOFF
31:7
Vector table base offset
AIRCRApplication Interrupt and Reset Control Register
Address
0xE000ED0C
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
ENDIANNESS
15
no description available
0 Little-endian
1 Big-endian
PRIGROUP
10:8
Interrupt priority grouping field. This field determines the split of group priority from subpriority.
SYSRESETREQ
2
no description available
0 no system reset request
1 asserts a signal to the outer system that requests a reset
VECTCLRACTIVE
1
no description available
VECTRESET
0
no description available
VECTKEY
31:16
Register key
SCRSystem Control Register
Address
0xE000ED10
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
SEVONPEND
4
no description available
0 only enabled interrupts or events can wakeup the processor, disabled interrupts are excluded
1 enabled events and all interrupts, including disabled interrupts, can wakeup the processor
SLEEPDEEP
2
no description available
0 sleep
1 deep sleep
SLEEPONEXIT
1
no description available
0 o not sleep when returning to Thread mode
1 enter sleep, or deep sleep, on return from an ISR
CCRConfiguration and Control Register
Address
0xE000ED14
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
STKALIGN
9
Indicates stack alignment on exception entry
0 4-byte aligned
1 8-byte aligned
BFHFNMIGN
8
Enables handlers with priority -1 or -2 to ignore data BusFaults caused by load and store instructions.
0 data bus faults caused by load and store instructions cause a lock-up
1 handlers running at priority -1 and -2 ignore data bus faults caused by load and store instructions
DIV_0_TRP
4
Enables faulting or halting when the processor executes an SDIV or UDIV instruction with a divisor of 0
0 do not trap divide by 0
1 trap divide by 0
UNALIGN_TRP
3
Enables unaligned access traps
0 do not trap unaligned halfword and word accesses
1 trap unaligned halfword and word accesses
USERSETMPEND
1
Enables unprivileged software access to the STIR
0 disable
1 enable
NONBASETHRDENA
0
no description available
0 processor can enter Thread mode only when no exception is active
1 processor can enter Thread mode from any level under the control of an EXC_RETURN value
SHPR1System Handler Priority Register 1
Address
0xE000ED18
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
PRI_6
23:16
Priority of system handler 6, UsageFault
PRI_5
15:8
Priority of system handler 5, BusFault
PRI_4
7:0
Priority of system handler 4, MemManage
SHPR2System Handler Priority Register 2
Address
0xE000ED1C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
PRI_11
31:24
Priority of system handler 11, SVCall
SHPR3System Handler Priority Register 3
Address
0xE000ED20
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
PRI_14
23:16
Priority of system handler 14, PendSV
PRI_15
31:24
Priority of system handler 15, SysTick exception
SHCSRSystem Handler Control and State Register
Address
0xE000ED24
Reset
0x00000000
Access
read/write
Size
32-bit
14 fields
Field
Bits
What it does
USGFAULTENA
18
no description available
0 disable the exception
1 enable the exception
BUSFAULTENA
17
no description available
0 disable the exception
1 enable the exception
MEMFAULTENA
16
no description available
0 disable the exception
1 enable the exception
SVCALLPENDED
15
no description available
0 exception is not pending
1 exception is pending
BUSFAULTPENDED
14
no description available
0 exception is not pending
1 exception is pending
MEMFAULTPENDED
13
no description available
0 exception is not pending
1 exception is pending
USGFAULTPENDED
12
no description available
0 exception is not pending
1 exception is pending
SYSTICKACT
11
no description available
0 exception is not active
1 exception is active
PENDSVACT
10
no description available
0 exception is not active
1 exception is active
MONITORACT
8
no description available
0 exception is not active
1 exception is active
SVCALLACT
7
no description available
0 exception is not active
1 exception is active
USGFAULTACT
3
no description available
0 exception is not active
1 exception is active
BUSFAULTACT
1
no description available
0 exception is not active
1 exception is active
MEMFAULTACT
0
no description available
0 exception is not active
1 exception is active
CFSRConfigurable Fault Status Registers
Address
0xE000ED28
Reset
0x00000000
Access
read/write
Size
32-bit
19 fields
Field
Bits
What it does
DIVBYZERO
25
no description available
0 no divide by zero fault, or divide by zero trapping not enabled
1 the processor has executed an SDIV or UDIV instruction with a divisor of 0
UNALIGNED
24
no description available
0 no unaligned access fault, or unaligned access trapping not enabled
1 the processor has made an unaligned memory access
NOCP
19
no description available
0 no UsageFault caused by attempting to access a coprocessor
1 the processor has attempted to access a coprocessor
INVPC
18
no description available
0 no invalid PC load UsageFault
1 the processor has attempted an illegal load of EXC_RETURN to the PC
INVSTATE
17
no description available
0 no invalid state UsageFault
1 the processor has attempted to execute an instruction that makes illegal use of the EPSR
UNDEFINSTR
16
no description available
0 no undefined instruction UsageFault
1 the processor has attempted to execute an undefined instruction
BFARVALID
15
no description available
0 value in BFAR is not a valid fault address
1 BFAR holds a valid fault address
LSPERR
13
no description available
0 No bus fault occurred during floating-point lazy state preservation
1 A bus fault occurred during floating-point lazy state preservation
STKERR
12
no description available
0 no stacking fault
1 stacking for an exception entry has caused one or more BusFaults
UNSTKERR
11
no description available
0 no unstacking fault
1 unstack for an exception return has caused one or more BusFaults
IMPRECISERR
10
no description available
0 no imprecise data bus error
1 a data bus error has occurred, but the return address in the stack frame is not related to the instruction that caused the error
PRECISERR
9
no description available
0 no precise data bus error
1 a data bus error has occurred, and the PC value stacked for the exception return points to the instruction that caused the fault
IBUSERR
8
no description available
0 no instruction bus error
1 instruction bus error
MMARVALID
7
no description available
0 value in MMAR is not a valid fault address
1 MMAR holds a valid fault address
MLSPERR
5
no description available
0 No MemManage fault occurred during floating-point lazy state preservation
1 A MemManage fault occurred during floating-point lazy state preservation
MSTKERR
4
no description available
0 no stacking fault
1 stacking for an exception entry has caused one or more access violations
MUNSTKERR
3
no description available
0 no unstacking fault
1 unstack for an exception return has caused one or more access violations
DACCVIOL
1
no description available
0 no data access violation fault
1 the processor attempted a load or store at a location that does not permit the operation
IACCVIOL
0
no description available
0 no instruction access violation fault
1 the processor attempted an instruction fetch from a location that does not permit execution
HFSRHardFault Status register
Address
0xE000ED2C
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
FORCED
30
no description available
0 no forced HardFault
1 forced HardFault
VECTTBL
1
no description available
0 no BusFault on vector table read
1 BusFault on vector table read
DEBUGEVT
31
no description available
DFSRDebug Fault Status Register
Address
0xE000ED30
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
Field
Bits
What it does
EXTERNAL
4
no description available
0 No EDBGRQ debug event
1 EDBGRQ debug event
VCATCH
3
no description available
0 No Vector catch triggered
1 Vector catch triggered
DWTTRAP
2
no description available
0 No current debug events generated by the DWT
1 At least one current debug event generated by the DWT