microchip,pic32ck-sg-gc-xosc32k

Description

PIC32CK_SG_GC External Crystal Oscillator (XOSC32K)

32.768 kHz External Crystal Oscillator (XOSC32K) Control.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

xosc32k-enable

int

Oscillator Enable

Legal values: 0, 1

xosc32k-xtal-en

int

Selects external clock or crystal oscillator
0 - External clock connected on XIN. XOUT can be used as general-purpose I/O.
1 - Crystal connected to XIN/XOUT.

Legal values: 0, 1

xosc32k-frequency

int

32.768 kHz frequency

xosc32k-on-demand-en

int

0: The oscillator is always on, if standby-en is true, else run in
   Standby Sleep mode if requested by a peripheral.
1: Run if requested by peripheral
Important: Initializing it with 1, along with clock enabled, can lead to indefinite wait for
the clock to be on, if there is no peripheral request for the clock in the sequence of clock
Initialization. If required, better to turn on the clock using API, instead of enabling both
during startup.

Legal values: 0, 1

xosc32k-control-gain-mode

string

control the gain of the external crystal oscillator

Default value: lower-gain-mode-value

Legal values: lower-gain-mode-value, higher-than-cgm0, higher-than-cgm1, higher-than-cgm2, higher-than-cgm3, higher-than-cgm4, higher-than-cgm5, higher-than-cgm6, higher-than-cgm7, higher-than-cgm8, higher-than-cgm9, higher-than-cgm10, higher-than-cgm11, higher-than-cgm12, higher-than-cgm13, highest-gain-mode-value

xosc32k-servo-loop-en

int

xosc32k servo loop
0 - enable
1-  disable

Legal values: 0, 1

xosc32k-gain-boost

int

xosc32k gain boost
0 - enable
1-  disable

Legal values: 0, 1

xosc32k-startup-time

int

Oscillator Start-Up Time in ms

Default value: 1000

Legal values: 0, 1, 2, 63, 125, 250, 500, 1000, 2000, 4000, 8000

xosc32k-rtc-clk-selection-en

int

RTC source clock selection
0: osculp32K
1: osculp1k
2: xosc32k
3: xosc1k

Default value: 1

xosc32k-cfd-en

int

Clock Failure Detector Enable
0: to disable, 1: to enable

Legal values: 0, 1

xosc32k-cfd-prescaler

int

Clock Failure Detector Prescaler
0: The CFD safe clock frequency is the OSCULP32K frequency
1: The CFD safe clock frequency is the OSCULP32K frequency divided by 2

Legal values: 0, 1

xosc32k-cfd-switchback-en

int

Clock Switch Back
0: to disable, 1: to enable

Legal values: 0, 1