Datasheet
183
42023E–SAM–07/2013
ATSAM4L8/L4/L2
12.7.9 32 KHz RC Oscillator Control Register
Name: RC32KCR
Access Type: Read/Write
Reset Value: 0x00000000
• FCD: Flash calibration done
Signifies that COARSE in the RC32KCALIB register has been loaded with value from fuses.
0: Fuses not loaded. CALIB will be loaded on reset.
1: Fuses loaded. CALIB will keep its current value on reset.
• REF: Reference select
Selects the reference clock for the Closed Loop mode.
0: The OSC32K is selected as the reference.
1: Generic clock is selected for reference. See module configuration for the generic clock configuration.
• MODE: Mode Selection
0: RC32K operates in Open Loop mode.
1: RC32K operates in Closed Loop mode.
• EN1K: Enable 1 kHz output
0: 1 kHz output is disabled.
1: 1 kHz output is enabled.
• EN32K: Enable 32 KHz output
0: 32 kHz output is disabled.
1: 32 kHz output is enabled.
• TCEN: Temperature Compensation Enable
0: The oscillator is not temperature compensated.
1: The oscillator is temperature compensated.
• EN: Enable as Generic clock source
0: The oscillator is not enabled as a Generic clock source.
1: The oscillator is enabled as a Generic clock source.
Note that this register is protected by a lock. To write to this register the UNLOCK register has to be written first. Refer to
Section 12.7.7 ”Unlock Register” on page 179 for details.
31 30 29 28 27 26 25 24
------
-
-
23 22 21 20 19 18 17 16
--------
15 14 13 12 11 10 9 8
-- --- ---
76543210
FCD - REF MODE EN1K EN32K TCEN EN