PIC18F26K80 OSCILLATOR registers

The 6 registers of OSCILLATOR (Oscillator, power control and watchdog), from 0xF9A, with their reset value and every field. The PIC18F26K80 has 428 registers in 28 peripherals, one page each.

OSCILLATOR Oscillator, power control and watchdog

REFOCON

Address
0xF9A
Reset
0x00
Access
read/write
  1. 7ROON
  2. 6–
  3. 5ROSSLP
  4. 4ROSEL
  5. 3RODIV3
  6. 2RODIV2
  7. 1RODIV1
  8. 0RODIV0
4 fields
FieldBitsWhat it does
ROON7
ROSSLP5
ROSEL4
RODIV3:0

OSCTUNE

Address
0xF9B
Reset
0x00
Access
read/write
  1. 7INTSRC
  2. 6PLLEN
  3. 5TUN5
  4. 4TUN4
  5. 3TUN3
  6. 2TUN2
  7. 1TUN1
  8. 0TUN0
3 fields
FieldBitsWhat it does
INTSRC7
PLLEN6
TUN5:0

HLVDCON

Address
0xFA8
Reset
0x00
Access
read/write
  1. 7VDIRMAG
  2. 6BGVST
  3. 5IRVST
  4. 4HLVDEN
  5. 3HLVDL3
  6. 2HLVDL2
  7. 1HLVDL1
  8. 0HLVDL0
5 fields
FieldBitsWhat it does
VDIRMAG7
BGVST6
IRVST5
HLVDEN4
HLVDL3:0

WDTCON

Address
0xFD1
Reset
x (not fixed at power-on)
Access
read/write
  1. 7REGSLP
  2. 6–
  3. 5ULPLVL
  4. 4SRETEN
  5. 3–
  6. 2ULPEN
  7. 1ULPSINK
  8. 0SWDTEN
6 fields
FieldBitsWhat it does
REGSLP7
ULPLVL5
SRETEN4
ULPEN2
ULPSINK1
SWDTEN0

OSCCON2

Address
0xFD2
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6SOSCRUN
  3. 5–
  4. 4SOSCDRV
  5. 3SOSCGO
  6. 2–
  7. 1MFIOFS
  8. 0MFIOSEL
5 fields
FieldBitsWhat it does
SOSCRUN6
SOSCDRV4
SOSCGO3
MFIOFS1
MFIOSEL0

OSCCON

Address
0xFD3
Reset
x (not fixed at power-on)
Access
read/write
  1. 7IDLEN
  2. 6IRCF2
  3. 5IRCF1
  4. 4IRCF0
  5. 3OSTS
  6. 2HFIOFS
  7. 1SCS1
  8. 0SCS0
5 fields
FieldBitsWhat it does
IDLEN7
IRCF6:4
OSTS3
HFIOFS2
SCS1:0