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 control.

0: to disable, 1: to enable

Default value: 0

Legal values: 0, 1

xosc32k-xtal-en

int

External clock or crystal oscillator selection.

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

Default value: 0

Legal values: 0, 1

xosc32k-frequency

int

Crystal frequency value.

32.768 kHz frequency.

Default value: 0

xosc32k-on-demand-en

int

On-demand oscillator control.

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.

Default value: 0

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 control.

0 - enable
1 - disable

Default value: 0

Legal values: 0, 1

xosc32k-gain-boost

int

XOSC32K gain boost control.

0 - enable
1 - disable

Default value: 0

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 clock source selection.

0: osculp32K
1: osculp1k
2: xosc32k
3: xosc1k

Default value: 1

xosc32k-cfd-en

int

Clock failure detector enable control.

0: to disable, 1: to enable

Default value: 0

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.

Default value: 0

Legal values: 0, 1

xosc32k-cfd-switchback-en

int

Clock switch back control.

0: to disable, 1: to enable

Default value: 0

Legal values: 0, 1