ATSAMHA1G15AB SYSCTRL registers

The 20 registers of SYSCTRL (System Control), from 0x40000800, with their reset value and every field. The ATSAMHA1G15AB has 990 registers in 36 peripherals, one page each.

SYSCTRL System Control

INTENCLRInterrupt Enable Clear

Address
0x40000800
Reset
0x00000000
Access
read/write
Size
32-bit
15 fields
FieldBitsWhat it does
DPLLLTO17DPLL Lock Timeout Interrupt Enable
DPLLLCKF16DPLL Lock Fall Interrupt Enable
DPLLLCKR15DPLL Lock Rise Interrupt Enable
B33SRDY11BOD33 Synchronization Ready Interrupt Enable
BOD33DET10BOD33 Detection Interrupt Enable
BOD33RDY9BOD33 Ready Interrupt Enable
DFLLRCS8DFLL Reference Clock Stopped Interrupt Enable
DFLLLCKC7DFLL Lock Coarse Interrupt Enable
DFLLLCKF6DFLL Lock Fine Interrupt Enable
DFLLOOB5DFLL Out Of Bounds Interrupt Enable
DFLLRDY4DFLL Ready Interrupt Enable
OSC8MRDY3OSC8M Ready Interrupt Enable
OSC32KRDY2OSC32K Ready Interrupt Enable
XOSC32KRDY1XOSC32K Ready Interrupt Enable
XOSCRDY0XOSC Ready Interrupt Enable

INTENSETInterrupt Enable Set

Address
0x40000804
Reset
0x00000000
Access
read/write
Size
32-bit
15 fields
FieldBitsWhat it does
DPLLLTO17DPLL Lock Timeout Interrupt Enable
DPLLLCKF16DPLL Lock Fall Interrupt Enable
DPLLLCKR15DPLL Lock Rise Interrupt Enable
B33SRDY11BOD33 Synchronization Ready Interrupt Enable
BOD33DET10BOD33 Detection Interrupt Enable
BOD33RDY9BOD33 Ready Interrupt Enable
DFLLRCS8DFLL Reference Clock Stopped Interrupt Enable
DFLLLCKC7DFLL Lock Coarse Interrupt Enable
DFLLLCKF6DFLL Lock Fine Interrupt Enable
DFLLOOB5DFLL Out Of Bounds Interrupt Enable
DFLLRDY4DFLL Ready Interrupt Enable
OSC8MRDY3OSC8M Ready Interrupt Enable
OSC32KRDY2OSC32K Ready Interrupt Enable
XOSC32KRDY1XOSC32K Ready Interrupt Enable
XOSCRDY0XOSC Ready Interrupt Enable

INTFLAGInterrupt Flag Status and Clear

Address
0x40000808
Reset
0x00000000
Access
read/write
Size
32-bit
15 fields
FieldBitsWhat it does
DPLLLTO17DPLL Lock Timeout
DPLLLCKF16DPLL Lock Fall
DPLLLCKR15DPLL Lock Rise
B33SRDY11BOD33 Synchronization Ready
BOD33DET10BOD33 Detection
BOD33RDY9BOD33 Ready
DFLLRCS8DFLL Reference Clock Stopped
DFLLLCKC7DFLL Lock Coarse
DFLLLCKF6DFLL Lock Fine
DFLLOOB5DFLL Out Of Bounds
DFLLRDY4DFLL Ready
OSC8MRDY3OSC8M Ready
OSC32KRDY2OSC32K Ready
XOSC32KRDY1XOSC32K Ready
XOSCRDY0XOSC Ready

PCLKSRPower and Clocks Status

Address
0x4000080C
Reset
0x00000000
Access
read only
Size
32-bit
15 fields
FieldBitsWhat it does
DPLLLTO17DPLL Lock Timeout
DPLLLCKF16DPLL Lock Fall
DPLLLCKR15DPLL Lock Rise
B33SRDY11BOD33 Synchronization Ready
BOD33DET10BOD33 Detection
BOD33RDY9BOD33 Ready
DFLLRCS8DFLL Reference Clock Stopped
DFLLLCKC7DFLL Lock Coarse
DFLLLCKF6DFLL Lock Fine
DFLLOOB5DFLL Out Of Bounds
DFLLRDY4DFLL Ready
OSC8MRDY3OSC8M Ready
OSC32KRDY2OSC32K Ready
XOSC32KRDY1XOSC32K Ready
XOSCRDY0XOSC Ready

XOSCExternal Multipurpose Crystal Oscillator (XOSC) Control

Address
0x40000810
Reset
0x0080
Access
read/write
Size
16-bit
7 fields
FieldBitsWhat it does
STARTUP15:12Start-Up Time
  • 0 31 us
  • 1 61 us
  • 2 122 us
  • 3 244 us
  • 4 488 us
  • 5 977 us
  • 6 1953 us
  • 7 3906 us
  • 8 7813 us
  • 9 15625 us
  • 10 31250 us
  • 11 62500 us
  • 12 125000 us
  • 13 250000 us
  • 14 500000 us
  • 15 1000000 us
AMPGC11Automatic Amplitude Gain Control
GAIN10:8Oscillator Gain
  • 0 2MHz
  • 1 4MHz
  • 2 8MHz
  • 3 16MHz
  • 4 30MHz
ONDEMAND7On Demand Control
RUNSTDBY6Run in Standby
XTALEN2Crystal Oscillator Enable
ENABLE1Oscillator Enable

XOSC32K32kHz External Crystal Oscillator (XOSC32K) Control

Address
0x40000814
Reset
0x0080
Access
read/write
Size
16-bit
9 fields
FieldBitsWhat it does
WRTLOCK12Write Lock
STARTUP10:8Oscillator Start-Up Time
  • 0 0.122 ms
  • 1 1.068 ms
  • 2 62.592 ms
  • 3 125.092 ms
  • 4 500.092 ms
  • 5 1000.092 ms
  • 6 2000.092 ms
  • 7 4000.092 ms
ONDEMAND7On Demand Control
RUNSTDBY6Run in Standby
AAMPEN5Automatic Amplitude Control Enable
EN1K41kHz Output Enable
EN32K332kHz Output Enable
XTALEN2Crystal Oscillator Enable
ENABLE1Oscillator Enable

OSC32K32kHz Internal Oscillator (OSC32K) Control

Address
0x40000818
Reset
0x003F0080
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
CALIB22:16Oscillator Calibration
WRTLOCK12Write Lock
STARTUP10:8Oscillator Start-Up Time
  • 0 0.092 ms
  • 1 0.122 ms
  • 2 0.183 ms
  • 3 0.305 ms
  • 4 0.549 ms
  • 5 1.038 ms
  • 6 2.014 ms
  • 7 3.967 ms
ONDEMAND7On Demand Control
RUNSTDBY6Run in Standby
EN1K31kHz Output Enable
EN32K232kHz Output Enable
ENABLE1Oscillator Enable

OSCULP32K32kHz Ultra Low Power Internal Oscillator (OSCULP32K) Control

Address
0x4000081C
Reset
0x1F
Access
read/write
  1. 7WRTLOCK
  2. 6–
  3. 5–
  4. 4CALIB4
  5. 3CALIB3
  6. 2CALIB2
  7. 1CALIB1
  8. 0CALIB0
2 fields
FieldBitsWhat it does
WRTLOCK7Write Lock
CALIB4:0Oscillator Calibration

OSC8M8MHz Internal Oscillator (OSC8M) Control

Address
0x40000820
Reset
0x87070382
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
CALIB27:16Oscillator Calibration
PRESC9:8Oscillator Prescaler
  • 0 1
  • 1 2
  • 2 4
  • 3 8
ONDEMAND7On Demand Control
RUNSTDBY6Run in Standby
ENABLE1Oscillator Enable
FRANGE31:30Oscillator Frequency Range
  • 0 4 to 6MHz
  • 1 6 to 8MHz
  • 2 8 to 11MHz
  • 3 11 to 15MHz

DFLLCTRLDFLL48M Control

Address
0x40000824
Reset
0x0080
Access
read/write
Size
16-bit
10 fields
FieldBitsWhat it does
WAITLOCK11Wait Lock
BPLCKC10Bypass Coarse Lock
QLDIS9Quick Lock Disable
CCDIS8Chill Cycle Disable
ONDEMAND7On Demand Control
RUNSTDBY6Run in Standby
LLAW4Lose Lock After Wake
STABLE3Stable DFLL Frequency
MODE2Operating Mode Selection
ENABLE1DFLL Enable

DFLLVALDFLL48M Value

Address
0x40000828
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
COARSE15:10Coarse Value
FINE9:0Fine Value
DIFF31:16Multiplication Ratio Difference

DFLLMULDFLL48M Multiplier

Address
0x4000082C
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
FSTEP25:16Fine Maximum Step
MUL15:0DFLL Multiply Factor
CSTEP31:26Coarse Maximum Step

DFLLSYNCDFLL48M Synchronization

Address
0x40000830
Reset
0x00
Access
read/write
  1. 7READREQ
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
1 field
FieldBitsWhat it does
READREQ7Read Request

BOD333.3V Brown-Out Detector (BOD33) Control

Address
0x40000834
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
LEVEL21:16BOD33 Threshold Level
PSEL15:12Prescaler Select
  • 0 Divide clock by 2
  • 1 Divide clock by 4
  • 2 Divide clock by 8
  • 3 Divide clock by 16
  • 4 Divide clock by 32
  • 5 Divide clock by 64
  • 6 Divide clock by 128
  • 7 Divide clock by 256
  • 8 Divide clock by 512
  • 9 Divide clock by 1024
  • 10 Divide clock by 2048
  • 11 Divide clock by 4096
  • 12 Divide clock by 8192
  • 13 Divide clock by 16384
  • 14 Divide clock by 32768
  • 15 Divide clock by 65536
CEN9Clock Enable
MODE8Operation Mode
RUNSTDBY6Run in Standby
ACTION4:3BOD33 Action
  • 0 No action
  • 1 The BOD33 generates a reset
  • 2 The BOD33 generates an interrupt
HYST2Hysteresis
ENABLE1Enable

VREGVoltage Regulator System (VREG) Control

Address
0x4000083C
Reset
0x0000
Access
read/write
Size
16-bit
2 fields
FieldBitsWhat it does
FORCELDO13Force LDO Voltage Regulator
RUNSTDBY6Run in Standby

VREFVoltage References System (VREF) Control

Address
0x40000840
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
CALIB26:16Bandgap Voltage Generator Calibration
BGOUTEN2Bandgap Output Enable
TSEN1Temperature Sensor Enable

DPLLCTRLADPLL Control A

Address
0x40000844
Reset
0x80
Access
read/write
  1. 7ONDEMAND
  2. 6RUNSTDBY
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1ENABLE
  8. 0–
3 fields
FieldBitsWhat it does
ONDEMAND7On Demand Clock Activation
RUNSTDBY6Run in Standby
ENABLE1DPLL Enable

DPLLRATIODPLL Ratio Control

Address
0x40000848
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
LDRFRAC19:16Loop Divider Ratio Fractional Part
LDR11:0Loop Divider Ratio

DPLLCTRLBDPLL Control B

Address
0x4000084C
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
FieldBitsWhat it does
DIV26:16Clock Divider
LBYPASS12Lock Bypass
LTIME10:8Lock Time
  • 0 No time-out
  • 4 Time-out if no lock within 8 ms
  • 5 Time-out if no lock within 9 ms
  • 6 Time-out if no lock within 10 ms
  • 7 Time-out if no lock within 11 ms
REFCLK5:4Reference Clock Selection
  • 0 CLK_DPLL_REF0 clock reference
  • 1 CLK_DPLL_REF1 clock reference
  • 2 GCLK_DPLL clock reference
WUF3Wake Up Fast
LPEN2Low-Power Enable
FILTER1:0Proportional Integral Filter Selection
  • 0 Default filter mode
  • 1 Low bandwidth filter
  • 2 High bandwidth filter
  • 3 High damping filter

DPLLSTATUSDPLL Status

Address
0x40000850
Reset
0x00
Access
read only
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3DIV
  6. 2ENABLE
  7. 1CLKRDY
  8. 0LOCK
4 fields
FieldBitsWhat it does
DIV3Divider Enable
ENABLE2DPLL Enable
CLKRDY1Output Clock Ready
LOCK0DPLL Lock Status