ATSAML22N16A SystemControl registers

The 10 registers of SystemControl (System Control Registers), from 0xE000ED00, with their reset value and every field. The ATSAML22N16A has 1261 registers in 40 peripherals, one page each.

SystemControl System Control Registers

CPUIDCPUID Base Register

Address
0xE000ED00
Reset
0x410CC601
Access
read only
Size
32-bit
5 fields
FieldBitsWhat it does
VARIANT23:20Major revision number
ARCHITECTURE19:16Processor Architecture, 0xC=ARMv6-M
PARTNO15:4Processor Part Number, 0xC60=Cortex-M0+
REVISION3:0Minor revision number
IMPLEMENTER31:24Implementer code, ARM=0x41

ICSRInterrupt Control and State Register

Address
0xE000ED04
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
FieldBitsWhat it does
PENDSVSET28PendSV set-pending bit
  • 0 Write: no effect; read: PendSV exception is not pending
  • 1 Write: changes PendSV exception state to pending; read: PendSV exception is pending
PENDSVCLR27PendSV clear-pending bit
  • 0 No effect
  • 1 Removes the pending state from the PendSV exception
PENDSTSET26SysTick exception set-pending bit
  • 0 Write: no effect; read: SysTick exception is not pending
  • 1 Write: changes SysTick exception state to pending; read: SysTick exception is pending
PENDSTCLR25SysTick exception clear-pending bit
  • 0 No effect
  • 1 Removes the pending state from the SysTick exception
ISRPREEMPT23Debug: Pending exception serviced on exit from debug halt
ISRPENDING22Debug: NVIC interrupt pending
VECTPENDING20:12Exception number of the highest priority pending enabled exception
VECTACTIVE8:0Debug: Exception number of currently executing exception, or 0 if thread mode
NMIPENDSET31NMI set-pending bit
  • 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
FieldBitsWhat it does
TBLOFF31:7Vector table base offset

AIRCRApplication Interrupt and Reset Control Register

Address
0xE000ED0C
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
ENDIANNESS15Data Endianness, 0=little, 1=big
  • 0 Little-endian
  • 1 Big-endian
SYSRESETREQ2System Reset Request
  • 0 No system reset request
  • 1 Asserts a signal to the outer system that requests a reset
VECTCLRACTIVE1Debug: Clear state information
VECTKEY31:16Register key (0x05FA)

SCRSystem Control Register

Address
0xE000ED10
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
SEVONPEND4Send Event on Pending bit
  • 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
SLEEPDEEP2Uses Deep Sleep as low power mode
  • 0 Sleep
  • 1 Deep sleep
SLEEPONEXIT1Sleep-On-Exit when exiting Handler mode
  • 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
0x00000204
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
STKALIGN9Stack 8-byte aligned on exception entry
  • 0 4-byte aligned
  • 1 8-byte aligned
UNALIGN_TRP3Unaligned accesses generates a Hard Fault
  • 0 Do not trap unaligned halfword and word accesses
  • 1 Trap unaligned halfword and word accesses

SHPR2System Handler Priority Register 2

Address
0xE000ED1C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
PRI_1131:24Priority of system handler 11, SVCall

SHPR3System Handler Priority Register 3

Address
0xE000ED20
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
PRI_1423:16Priority of system handler 14, PendSV
PRI_1531:24Priority of system handler 15, SysTick exception

SHCSRSystem Handler Control and State Register

Address
0xE000ED24
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
SVCALLPENDED15no description available

DFSRDebug Fault Status Register

Address
0xE000ED30
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
EXTERNAL4EDBGRQ debug event
VCATCH3Vector catch debug event
DWTTRAP2DWT debug event
BKPT1Breakpoint debug event
HALTED0Halt request debug event active