Data Sheet
187
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
16.8.7 32kHz Internal Oscillator (OSC32K) Control
Name: OSC32K
Offset: 0x18
Reset: 0x003F0080
Property: Write-Protected
z Bits 31:23 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to
zero when this register is written. These bits will always return zero when read.
z Bits 22:16 – CALIB[6:0]: Oscillator Calibration
These bits control the oscillator calibration.
This value must be written by the user.
Factory calibration values can be loaded from the non-volatile memory. Refer to “NVM Software Calibration Area
Mapping” on page 31.
z Bits 15:13 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to
zero when this register is written. These bits will always return zero when read.
z Bit 12 – WRTLOCK: Write Lock
This bit locks the OSC32K register for future writes to fix the OSC32K configuration.
0: The OSC32K configuration is not locked.
1: The OSC32K configuration is locked.
Bit 3130292827262524
AccessRRRRRRRR
Reset00000000
Bit 2322212019181716
CALIB[6:0]
Access R R/W R/W R/W R/W R/W R/W R/W
Reset00111111
Bit 151413121110 9 8
WRTLOCK STARTUP[2:0]
Access R R R R/W R R/W R/W R/W
Reset00000000
Bit 76543210
ONDEMAND RUNSTDBY
EN32K ENABLE
Access R/W R/W R R R R/W R/W R
Reset10000000