microchip,pic32cm-pl-xosc32k

Description

PIC32CM_PL 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-startup-time

string

Oscillator Start-Up Time

1K : 1K XOSC32K cycles
16K: 16K XOSC32K cycles
32k: 32K XOSC32K cycles
64K: 64K XOSC32K cycles

Default value: 1K

Legal values: 1K, 16K, 32K, 64K

xosc32k-on-demand-en

int

On Demand Configuration

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-xtal-en

int

xosc32k source selection

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-en

int

Oscillator Enable

0: to disable, 1: to enable

Legal values: 0, 1

xosc32k-cfd-en

int

Clock Failure Detector Enable

0: to disable, 1: to enable

Legal values: 0, 1

low-power-en

int

Run Oscillator in Low Power Mode

0: to disable, 1: to enable

Legal values: 0, 1