microchip,pic32cm-jh-xosc

Description

PIC32CM_JH Crystal Oscillator (XOSC)

0.4-32 MHz Crystal Oscillator (XOSC).

Properties

Properties not inherited from the base binding file.

Name

Type

Details

xosc-startup-time

int

XOSC start-up time. Select number of OSCULP32K oscillator clock cycles.

Default value: 1

Legal values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768

xosc-automatic-amplitude-gain-control-en

int

Amplitude gain will be automatically adjusted during Crystal Oscillator operation
0: to disable, 1: to enable

Legal values: 0, 1

xosc-on-demand-en

int

0: The oscillator is always ON normally.
In standby sleep mode, oscillator will be OFF if there is no peripheral request,
unless run-in-standby-en is 1.
1: In both normal and standby sleep mode, The oscillator is ON,
when a peripheral is requesting the oscillator to be used as a clock source.
The oscillator is OFF if no peripheral is requesting the clock source.
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

xosc-run-in-standby-en

int

0: The XOSCn is OFF in standby sleep mode if no peripheral requests the clock.
1: The XOSCn is always ON in standby sleep mode, unless on-demand-en is 1.
If on-demand-en is 1, the XOSCn will be ON only when a peripheral is requesting
the clock, even if run-in-standby-en is 1.

Legal values: 0, 1

xosc-clock-failure-detection-en

int

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

Legal values: 0, 1

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

xosc-en

int

Oscillator Enable
0: to disable, 1: to enable

Legal values: 0, 1

xosc-frequency

int

Crystal/External clock frequency for XOSC Controller