The 11 registers of OSC32KCTRL (32.768 kHz Oscillators Controller), from 0x40001404, with their reset value and every field. The PIC32CM3204PL10028 has 642 registers in 32 peripherals, one page each.
OSC32KCTRL 32.768 kHz Oscillators Controller
INTENCLRInterrupt Enable Clear
Address
0x40001404
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
CLKFAIL
2
XOSC32K Clock Failure Detection Interrupt Enable
OSC32KRDY
1
OSC32K Ready Interrupt Enable
XOSC32KRDY
0
XOSC32K Ready Interrupt Enable
INTENSETInterrupt Enable Set
Address
0x40001408
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
CLKFAIL
2
XOSC32K Clock Failure Detection Interrupt Enable
OSC32KRDY
1
OSC32K Ready Interrupt Enable
XOSC32KRDY
0
XOSC32K Ready Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address
0x4000140C
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
CLKFAIL
2
XOSC32K Clock Failure Detected
OSC32KRDY
1
OSC32K Ready
XOSC32KRDY
0
XOSC32K Ready
INTFLAGSETInterrupt Flag Software Set
Address
0x40001410
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
CLKFAIL
2
XOSC32K Clock Failure Detected
OSC32KRDY
1
OSC32K Ready
XOSC32KRDY
0
XOSC32K Ready
STATUSStatus
Address
0x40001414
Reset
0x00000000
Access
read only
Size
32-bit
4 fields
Field
Bits
What it does
CLKSW
3
XOSC32K Clock Switch
CLKFAIL
2
XOSC32K Clock Failure Detected
OSC32KRDY
1
OSC32K Ready
XOSC32KRDY
0
XOSC32K Ready
RTCCTRLRTC Control
Address
0x40001418
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
RTCSEL
2:0
RTC Clock Source Selection
2 1.024 kHz from the internal 32.768 kHz oscillator
3 32.768 kHz from the internal 32.768 kHz oscillator
4 1.024 kHz from the external 32.768 kHz crystal oscillator
5 32.768 kHz from the external 32.768 kHz crystal oscillator
XOSC32KCTRLXOSC32K Control
Address
0x4000141C
Reset
0x00000080
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
LPMODE
13
Low Power Mode
CSUT
9:8
Crystal Oscillator Start-Up Time
0 1K XOSC32K cycles
1 16K XOSC32K cycles
2 32K XOSC32K cycles
3 64K XOSC32K cycles
ONDEMAND
7
On-Demand Operation
XTALEN
2
External Source Select
0 External Clock on the XTAL32K1 pin. XTAL32K2 is available for other functions. The CSUT timer is disregarded, and no start-up time is used.
1 External Crystal connected to the XTAL32K1 and XTAL32K2 pins
ENABLE
1
Oscillator Enable
WRTLOCK
31
Write Lock
CFDCTRLClock Failure Detector Control
Address
0x40001420
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
CFDPRESC
2
Clock Failure Detector Prescaler
SWBACK
1
Clock Switch Back Enable
CFDEN
0
Clock Failure Detector Enable
EVCTRLEvent Control
Address
0x40001424
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
CFDEO
0
Clock Failure Detector Event Output Enable
OSC32KCTRL32.768 kHz Internal Oscillator (OSC32K) Control