Datasheet

31.20.8 PMC Clock Generator Main Oscillator Register
Name:  CKGR_MOR
Offset:  0x0020
Reset:  0x00000008
Property:  Read/Write
This register can only be written if the WPEN bit is cleared in the PMC W
rite Protection Mode Register.
Bit 31 30 29 28 27 26 25 24
XT32KFME CFDEN MOSCSEL
Access
Reset 0 0 0
Bit 23 22 21 20 19 18 17 16
KEY[7:0]
Access
Reset 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8
MOSCXTST[7:0]
Access
Reset 0 0 0 0 0 0 0 0
Bit 7 6 5 4 3 2 1 0
MOSCRCF[2:0] MOSCRCEN WAITMODE MOSCXTBY MOSCXTEN
Access
Reset 0 0 0 1 0 0 0
Bit 26 – XT32KFME 32.768 kHz Crystal Oscillator Frequency Monitoring Enable
Value Description
0
The 32.768 kHz crystal oscillator frequency monitoring is disabled.
1
The 32.768 kHz crystal oscillator frequency monitoring is enabled.
Bit 25 – CFDEN Clock Failure Detector Enable
Value Description
0
The clock failure detector is disabled.
1
The clock failure detector is enabled.
Bit 24 – MOSCSEL Main Clock Oscillator Selection
Value Description
0
The Main RC oscillator is selected.
1
The Main crystal oscillator is selected.
Bits 23:16 – KEY[7:0] W
rite Access Password
Value Name Description
0x37
PASSWD Writing any other value in this field aborts the write operation.
Always reads as 0.
Bits 15:8 – MOSCXTST[7:0] Main Crystal Oscillator Startup T
ime
Specifies the number of SLCK cycles multiplied by 8 for the main crystal oscillator startup time.
Bits 6:4 – MOSCRCF[2:0] Main RC Oscillator Frequency Selection
At startup, the Main RC oscillator frequency is 12 MHz.
Value Name Description
0
4_MHz The RC oscillator frequency is at 4 MHz
SAM E70/S70/V70/V71 Family
Power Management Controller (PMC)
© 2019 Microchip T
echnology Inc.
Datasheet
DS60001527D-page 272