The 24 registers of OSCCTRL (Oscillators Control), from 0x40001000, with their reset value and every field. The PIC32CM5164LS00048 has 2318 registers in 56 peripherals, one page each.
OSCCTRL Oscillators Control
EVCTRLEvent Control
Address
0x40001000
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2TUNEINV
1TUNEEI
0CFDEO
3 fields
Field
Bits
What it does
TUNEINV
2
Tune Event Input Invert
TUNEEI
1
Tune Event Input Enable
CFDEO
0
Clock Failure Detector Event Output Enable
INTENCLRInterrupt Enable Clear
Address
0x40001004
Reset
0x00000000
Access
read/write
Size
32-bit
15 fields
Field
Bits
What it does
DFLLRCS
28
DFLL Reference Clock Stopped Interrupt Enable
DFLLLCKC
27
DFLL Lock Coarse Interrupt Enable
DFLLLCKF
26
DFLL Lock Fine Interrupt Enable
DFLLOOB
25
DFLL Out Of Bounds Interrupt Enable
DFLLRDY
24
DFLL Ready Interrupt Enable
DPLLLDRTO
19
DPLL Loop Divider Ratio Update Complete Interrupt Enable
DPLLLTO
18
DPLL Lock Timeout Interrupt Enable
DPLLLCKF
17
DPLL Lock Fall Interrupt Enable
DPLLLCKR
16
DPLL Lock Rise Interrupt Enable
DFLLULPNOLOCK
10
DFLLULP No Lock Interrupt Enable
DFLLULPLOCK
9
DFLLULP Lock Interrupt Enable
DFLLULPRDY
8
DFLLULP Ready interrupt Enable
OSC16MRDY
4
OSC16M Ready Interrupt Enable
XOSCFAIL
1
XOSC Clock Failure Detector Interrupt Enable
XOSCRDY
0
XOSC Ready Interrupt Enable
INTENSETInterrupt Enable Set
Address
0x40001008
Reset
0x00000000
Access
read/write
Size
32-bit
15 fields
Field
Bits
What it does
DFLLRCS
28
DFLL Reference Clock Stopped Interrupt Enable
DFLLLCKC
27
DFLL Lock Coarse Interrupt Enable
DFLLLCKF
26
DFLL Lock Fine Interrupt Enable
DFLLOOB
25
DFLL Out Of Bounds Interrupt Enable
DFLLRDY
24
DFLL Ready Interrupt Enable
DPLLLDRTO
19
DPLL Loop Divider Ratio Update Complete Interrupt Enable
DPLLLTO
18
DPLL Lock Timeout Interrupt Enable
DPLLLCKF
17
DPLL Lock Fall Interrupt Enable
DPLLLCKR
16
DPLL Lock Rise Interrupt Enable
DFLLULPNOLOCK
10
DFLLULP No Lock Interrupt Enable
DFLLULPLOCK
9
DFLLULP Lock Interrupt Enable
DFLLULPRDY
8
DFLLULP Ready interrupt Enable
OSC16MRDY
4
OSC16M Ready Interrupt Enable
XOSCFAIL
1
XOSC Clock Failure Detector Interrupt Enable
XOSCRDY
0
XOSC Ready Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address
0x4000100C
Reset
0x00000000
Access
read/write
Size
32-bit
15 fields
Field
Bits
What it does
DFLLRCS
28
DFLL Reference Clock Stopped Interrupt Enable
DFLLLCKC
27
DFLL Lock Coarse Interrupt Enable
DFLLLCKF
26
DFLL Lock Fine Interrupt Enable
DFLLOOB
25
DFLL Out Of Bounds Interrupt Enable
DFLLRDY
24
DFLL Ready Interrupt Enable
DPLLLDRTO
19
DPLL Loop Divider Ratio Update Complete
DPLLLTO
18
DPLL Lock Timeout
DPLLLCKF
17
DPLL Lock Fall
DPLLLCKR
16
DPLL Lock Rise
DFLLULPNOLOCK
10
DFLLULP No Lock
DFLLULPLOCK
9
DFLLULP Lock
DFLLULPRDY
8
DFLLULP Ready
OSC16MRDY
4
OSC16M Ready
XOSCFAIL
1
XOSC Clock Failure Detector
XOSCRDY
0
XOSC Ready
STATUSStatus
Address
0x40001010
Reset
0x00000000
Access
read only
Size
32-bit
16 fields
Field
Bits
What it does
DFLLRCS
28
DFLL Reference Clock Stopped
DFLLLCKC
27
DFLL Lock Coarse
DFLLLCKF
26
DFLL Lock Fine
DFLLOOB
25
DFLL Out Of Bounds
DFLLRDY
24
DFLL Ready
DPLLLDRTO
19
DPLL Loop Divider Ratio Update Complete
DPLLLTO
18
DPLL Lock Timeout
DPLLLCKF
17
DPLL Lock Fall
DPLLLCKR
16
DPLL Lock Rise
DFLLULPNOLOCK
10
DFLLULP No Lock
DFLLULPLOCK
9
DFLLULP Lock
DFLLULPRDY
8
DFLLULP Ready
OSC16MRDY
4
OSC16M Ready
XOSCCKSW
2
XOSC Clock Switch
XOSCFAIL
1
XOSC Clock Failure Detector
XOSCRDY
0
XOSC Ready
XOSCCTRLExternal Multipurpose Crystal Oscillator (XOSC) Control
Address
0x40001014
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 2MHz max
1 4MHz max
2 8MHz max
3 16MHz max
4 30MHz max
ONDEMAND
7
On Demand Control
RUNSTDBY
6
Run in Standby
SWBEN
4
Clock Switch Back Enable
CFDEN
3
Clock Failure Detector Enable
XTALEN
2
Crystal Oscillator Enable
ENABLE
1
Oscillator Enable
CFDPRESCClock Failure Detector Prescaler
Address
0x40001016
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 OSC16M/1
1 OSC16M/2
2 OSC16M/4
3 OSC16M/8
4 OSC16M/16
5 OSC16M/32
6 OSC16M/64
7 OSC16M/128
OSC16MCTRL16MHz Internal Oscillator (OSC16M) Control