The 18 registers of OSCCTRL (Oscillators Control), from 0x40001000, with their reset value and every field. The PIC32CM5164JH00032 has 1081 registers in 47 peripherals, one page each.
OSCCTRL Oscillators Control
INTENCLRInterrupt Enable Clear
Address
0x40001000
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
DPLLLDRTO
11
DPLL Ratio Ready Interrupt Enable
DPLLLTO
10
DPLL Time Out Interrupt Enable
DPLLLCKF
9
DPLL Lock Fall Interrupt Enable
DPLLLCKR
8
DPLL Lock Rise Interrupt Enable
OSC48MRDY
4
OSC48M Ready Interrupt Enable
XOSCFAIL
1
XOSC Clock Failure Detector Interrupt Enable
XOSCRDY
0
XOSC Ready Interrupt Enable
INTENSETInterrupt Enable Set
Address
0x40001004
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
DPLLLDRTO
11
DPLL Ratio Ready Interrupt Enable
DPLLLTO
10
DPLL Time Out Interrupt Enable
DPLLLCKF
9
DPLL Lock Fall Interrupt Enable
DPLLLCKR
8
DPLL Lock Rise Interrupt Enable
OSC48MRDY
4
OSC48M Ready Interrupt Enable
XOSCFAIL
1
XOSC Clock Failure Detector Interrupt Enable
XOSCRDY
0
XOSC Ready Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address
0x40001008
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
DPLLLDRTO
11
DPLL Ratio Ready
DPLLLTO
10
DPLL Timeout
DPLLLCKF
9
DPLL Lock Fall
DPLLLCKR
8
DPLL Lock Rise
OSC48MRDY
4
OSC48M Ready
XOSCFAIL
1
XOSC Clock Failure Detector
XOSCRDY
0
XOSC Ready
STATUSPower and Clocks Status
Address
0x4000100C
Reset
0x00000000
Access
read only
Size
32-bit
8 fields
Field
Bits
What it does
DPLLLDRTO
11
DPLL Ratio Ready
DPLLLTO
10
DPLL Timeout
DPLLLCKF
9
DPLL Lock Fall
DPLLLCKR
8
DPLL Lock Rise
OSC48MRDY
4
OSC48M Ready
XOSCCKSW
2
XOSC Clock Switch
XOSCFAIL
1
XOSC Clock Failure Detector
XOSCRDY
0
XOSC Ready
XOSCCTRLExternal Multipurpose Crystal Oscillator (XOSC) Control
Address
0x40001010
Reset
0x0080
Access
read/write
Size
16-bit
9 fields
Field
Bits
What it does
STARTUP
15:12
Start-Up Time
0 1 cycle
1 2 cycles
2 4 cycles
3 8 cycles
4 16 cycles
5 32 cycles
6 64 cycles
7 128 cycles
8 256 cycles
9 512 cycles
10 1024 cycles
11 2048 cycles
12 4096 cycles
13 8192 cycles
14 16384 cycles
15 32768 cycles
AMPGC
11
Automatic Amplitude Gain Control
GAIN
10:8
Oscillator Gain
0 2 MHz
1 4 MHz
2 8 MHz
3 16 MHz
4 32 MHz
ONDEMAND
7
On Demand Control
RUNSTDBY
6
Run in Standby
SWBEN
4
Clock Switch Back Enable
CFDEN
3
Xosc Clock Failure Detector Enable
XTALEN
2
Crystal Oscillator Enable
ENABLE
1
Oscillator Enable
CFDPRESCClock Failure Detector Prescaler
Address
0x40001012
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2CFDPRESC2
1CFDPRESC1
0CFDPRESC0
1 field
Field
Bits
What it does
CFDPRESC
2:0
Clock Failure Detector Prescaler
0 OSC48M frequency
1 OSC48M frequency / 2
2 OSC48M frequency / 4
3 OSC48M frequency / 8
4 OSC48M frequency / 16
5 OSC48M frequency / 32
6 OSC48M frequency / 64
7 OSC48M frequency / 128
EVCTRLEvent Control
Address
0x40001013
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0CFDEO
1 field
Field
Bits
What it does
CFDEO
0
Clock Failure Detector Event Output Enable
OSC48MCTRL48MHz Internal Oscillator (OSC48M) Control