ATSAML10E16A OSCCTRL registers

The 20 registers of OSCCTRL (Oscillators Control), from 0x40001000, with their reset value and every field. The ATSAML10E16A has 962 registers in 39 peripherals, one page each.

OSCCTRL Oscillators Control

EVCTRLEvent Control

Address
0x40001000
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2TUNEINV
  7. 1TUNEEI
  8. 0CFDEO
3 fields
FieldBitsWhat it does
TUNEINV2Tune Event Input Invert
TUNEEI1Tune Event Input Enable
CFDEO0Clock Failure Detector Event Output Enable

INTENCLRInterrupt Enable Clear

Address
0x40001004
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
DPLLLDRTO19DPLL Loop Divider Ratio Update Complete Interrupt Enable
DPLLLTO18DPLL Lock Timeout Interrupt Enable
DPLLLCKF17DPLL Lock Fall Interrupt Enable
DPLLLCKR16DPLL Lock Rise Interrupt Enable
DFLLULPNOLOCK10DFLLULP No Lock Interrupt Enable
DFLLULPLOCK9DFLLULP Lock Interrupt Enable
DFLLULPRDY8DFLLULP Ready interrupt Enable
OSC16MRDY4OSC16M Ready Interrupt Enable
XOSCFAIL1XOSC Clock Failure Detector Interrupt Enable
XOSCRDY0XOSC Ready Interrupt Enable

INTENSETInterrupt Enable Set

Address
0x40001008
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
DPLLLDRTO19DPLL Loop Divider Ratio Update Complete Interrupt Enable
DPLLLTO18DPLL Lock Timeout Interrupt Enable
DPLLLCKF17DPLL Lock Fall Interrupt Enable
DPLLLCKR16DPLL Lock Rise Interrupt Enable
DFLLULPNOLOCK10DFLLULP No Lock Interrupt Enable
DFLLULPLOCK9DFLLULP Lock Interrupt Enable
DFLLULPRDY8DFLLULP Ready interrupt Enable
OSC16MRDY4OSC16M Ready Interrupt Enable
XOSCFAIL1XOSC Clock Failure Detector Interrupt Enable
XOSCRDY0XOSC Ready Interrupt Enable

INTFLAGInterrupt Flag Status and Clear

Address
0x4000100C
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
DPLLLDRTO19DPLL Loop Divider Ratio Update Complete
DPLLLTO18DPLL Lock Timeout
DPLLLCKF17DPLL Lock Fall
DPLLLCKR16DPLL Lock Rise
DFLLULPNOLOCK10DFLLULP No Lock
DFLLULPLOCK9DFLLULP Lock
DFLLULPRDY8DFLLULP Ready
OSC16MRDY4OSC16M Ready
XOSCFAIL1XOSC Clock Failure Detector
XOSCRDY0XOSC Ready

STATUSStatus

Address
0x40001010
Reset
0x00000000
Access
read only
Size
32-bit
11 fields
FieldBitsWhat it does
DPLLLDRTO19DPLL Loop Divider Ratio Update Complete
DPLLTO18DPLL Lock Timeout
DPLLLCKF17DPLL Lock Fall
DPLLLCKR16DPLL Lock Rise
DFLLULPNOLOCK10DFLLULP No Lock
DFLLULPLOCK9DFLLULP Lock
DFLLULPRDY8DFLLULP Ready
OSC16MRDY4OSC16M Ready
XOSCCKSW2XOSC Clock Switch
XOSCFAIL1XOSC Clock Failure Detector
XOSCRDY0XOSC Ready

XOSCCTRLExternal Multipurpose Crystal Oscillator (XOSC) Control

Address
0x40001014
Reset
0x0080
Access
read/write
Size
16-bit
9 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 2 MHz
  • 1 4 MHz
  • 2 8 MHz
  • 3 16 MHz
  • 4 30 MHz
ONDEMAND7On Demand Control
RUNSTDBY6Run in Standby
SWBEN4Xosc Clock Switch Enable
CFDEN3Clock Failure Detector Enable
XTALEN2Crystal Oscillator Enable
ENABLE1Oscillator Enable

CFDPRESCClock Failure Detector Prescaler

Address
0x40001016
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CFDPRESC2
  7. 1CFDPRESC1
  8. 0CFDPRESC0
1 field
FieldBitsWhat it does
CFDPRESC2:0Clock Failure Detector Prescaler
  • 0 OSC16M/1
  • 1 OSC16M/2
  • 2 OSC16M/4
  • 3 OSC16M/8
  • 4 OSC16M/16
  • 5 OSC16M/32
  • 6 OSC16M/64
  • 7 OSC16M/128

OSC16MCTRL16MHz Internal Oscillator (OSC16M) Control

Address
0x40001018
Reset
0x82
Access
read/write
  1. 7ONDEMAND
  2. 6RUNSTDBY
  3. 5–
  4. 4–
  5. 3FSEL1
  6. 2FSEL0
  7. 1ENABLE
  8. 0–
4 fields
FieldBitsWhat it does
ONDEMAND7On Demand Control
RUNSTDBY6Run in Standby
FSEL3:2Oscillator Frequency Selection
  • 0 4MHz
  • 1 8MHz
  • 2 12MHz
  • 3 16MHz
ENABLE1Oscillator Enable

DFLLULPCTRLDFLLULP Control

Address
0x4000101C
Reset
0x0504
Access
read/write
Size
16-bit
7 fields
FieldBitsWhat it does
DIV10:8Division Factor
  • 0 Frequency Divided by 1
  • 1 Frequency Divided by 2
  • 2 Frequency Divided by 4
  • 3 Frequency Divided by 8
  • 4 Frequency Divided by 16
  • 5 Frequency Divided by 32
ONDEMAND7On Demand
RUNSTDBY6Run in Standby
DITHER5Tuner Dither Mode
SAFE4Tuner Safe Mode
BINSE3Binary Search Enable
ENABLE1Enable

DFLLULPDITHERDFLLULP Dither Control

Address
0x4000101E
Reset
0x00
Access
read/write
  1. 7–
  2. 6PER2
  3. 5PER1
  4. 4PER0
  5. 3–
  6. 2STEP2
  7. 1STEP1
  8. 0STEP0
2 fields
FieldBitsWhat it does
PER6:4Dither Period
  • 0 Dither Over 1 Reference Clock Period
  • 1 Dither Over 2 Reference Clock Period
  • 2 Dither Over 4 Reference Clock Period
  • 3 Dither Over 8 Reference Clock Period
  • 4 Dither Over 16 Reference Clock Period
  • 5 Dither Over 32 Reference Clock Period
STEP2:0Dither Step
  • 0 Dither Step = 1
  • 1 Dither Step = 2
  • 2 Dither Step = 4
  • 3 Dither Step = 8

DFLLULPRREQDFLLULP Read Request

Address
0x4000101F
Reset
0x00
Access
read/write
  1. 7RREQ
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–
1 field
FieldBitsWhat it does
RREQ7Read Request

DFLLULPDLYDFLLULP Delay Value

Address
0x40001020
Reset
0x00000080
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DELAY7:0Delay Value

DFLLULPRATIODFLLULP Target Ratio

Address
0x40001024
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
RATIO10:0Target Tuner Ratio

DFLLULPSYNCBUSYDFLLULP Synchronization Busy

Address
0x40001028
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
DELAY3Delay Register Synchronization Busy
ENABLE1Enable Bit Synchronization Busy

DPLLCTRLADPLL Control A

Address
0x4000102C
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
0x40001030
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
0x40001034
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. Automatic lock
  • 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 XOSC32K Clock Reference
  • 1 XOSC Clock Reference
  • 2 GCLK 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

DPLLPRESCDPLL Prescaler

Address
0x40001038
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1PRESC1
  8. 0PRESC0
1 field
FieldBitsWhat it does
PRESC1:0Output Clock Prescaler
  • 0 DPLL output is divided by 1
  • 1 DPLL output is divided by 2
  • 2 DPLL output is divided by 4

DPLLSYNCBUSYDPLL Synchronization Busy

Address
0x4000103C
Reset
0x00
Access
read only
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3DPLLPRESC
  6. 2DPLLRATIO
  7. 1ENABLE
  8. 0–
3 fields
FieldBitsWhat it does
DPLLPRESC3DPLL Prescaler Synchronization Status
DPLLRATIO2DPLL Loop Divider Ratio Synchronization Status
ENABLE1DPLL Enable Synchronization Status

DPLLSTATUSDPLL Status

Address
0x40001040
Reset
0x00
Access
read only
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1CLKRDY
  8. 0LOCK
2 fields
FieldBitsWhat it does
CLKRDY1DPLL Clock Ready
LOCK0DPLL Lock