PIC32CM3204PL10028 OSC32KCTRL registers

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
FieldBitsWhat it does
CLKFAIL2XOSC32K Clock Failure Detection Interrupt Enable
OSC32KRDY1OSC32K Ready Interrupt Enable
XOSC32KRDY0XOSC32K Ready Interrupt Enable

INTENSETInterrupt Enable Set

Address
0x40001408
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
CLKFAIL2XOSC32K Clock Failure Detection Interrupt Enable
OSC32KRDY1OSC32K Ready Interrupt Enable
XOSC32KRDY0XOSC32K Ready Interrupt Enable

INTFLAGInterrupt Flag Status and Clear

Address
0x4000140C
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
CLKFAIL2XOSC32K Clock Failure Detected
OSC32KRDY1OSC32K Ready
XOSC32KRDY0XOSC32K Ready

INTFLAGSETInterrupt Flag Software Set

Address
0x40001410
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
CLKFAIL2XOSC32K Clock Failure Detected
OSC32KRDY1OSC32K Ready
XOSC32KRDY0XOSC32K Ready

STATUSStatus

Address
0x40001414
Reset
0x00000000
Access
read only
Size
32-bit
4 fields
FieldBitsWhat it does
CLKSW3XOSC32K Clock Switch
CLKFAIL2XOSC32K Clock Failure Detected
OSC32KRDY1OSC32K Ready
XOSC32KRDY0XOSC32K Ready

RTCCTRLRTC Control

Address
0x40001418
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
RTCSEL2:0RTC 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
FieldBitsWhat it does
LPMODE13Low Power Mode
CSUT9:8Crystal Oscillator Start-Up Time
  • 0 1K XOSC32K cycles
  • 1 16K XOSC32K cycles
  • 2 32K XOSC32K cycles
  • 3 64K XOSC32K cycles
ONDEMAND7On-Demand Operation
XTALEN2External 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
ENABLE1Oscillator Enable
WRTLOCK31Write Lock

CFDCTRLClock Failure Detector Control

Address
0x40001420
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
CFDPRESC2Clock Failure Detector Prescaler
SWBACK1Clock Switch Back Enable
CFDEN0Clock Failure Detector Enable

EVCTRLEvent Control

Address
0x40001424
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
CFDEO0Clock Failure Detector Event Output Enable

OSC32KCTRL32.768 kHz Internal Oscillator (OSC32K) Control

Address
0x40001428
Reset
0x00000080
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
ONDEMAND7On-Demand Operation
WRTLOCK31Write Lock

WPCTRLWrite Protection Control

Address
0x4000142C
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
WPLCK1Write Protection Lock
WPEN0Write Protection Enable
WPKEY31:8Write Protection Key
  • 5198659 Allow writes to the WPCTRL register