PIC18F65K40 OSCILLATOR registers

The 15 registers of OSCILLATOR (Oscillator, power control and watchdog), from 0xE3D, with their reset value and every field. The PIC18F65K40 has 524 registers in 49 peripherals, one page each.

OSCILLATOR Oscillator, power control and watchdog

WDTCON0

Address
0xE3D
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5WDTPS4
  4. 4WDTPS3
  5. 3WDTPS2
  6. 2WDTPS1
  7. 1WDTPS0
  8. 0SEN
2 fields
FieldBitsWhat it does
WDTPS5:1
SEN0

WDTCON1

Address
0xE3E
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6WDTCS2
  3. 5WDTCS1
  4. 4WDTCS0
  5. 3–
  6. 2WINDOW2
  7. 1WINDOW1
  8. 0WINDOW0
2 fields
FieldBitsWhat it does
WDTCS6:4
WINDOW2:0

CPUDOZE

Address
0xE42
Reset
0x00
Access
read/write
  1. 7IDLEN
  2. 6DOZEN
  3. 5ROI
  4. 4DOE
  5. 3–
  6. 2DOZE2
  7. 1DOZE1
  8. 0DOZE0
5 fields
FieldBitsWhat it does
IDLEN7
DOZEN6
ROI5
DOE4
DOZE2:0

OSCCON1

Address
0xE43
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6NOSC2
  3. 5NOSC1
  4. 4NOSC0
  5. 3NDIV3
  6. 2NDIV2
  7. 1NDIV1
  8. 0NDIV0
2 fields
FieldBitsWhat it does
NOSC6:4
NDIV3:0

OSCCON2

Address
0xE44
Reset
x (not fixed at power-on)
Access
read only
  1. 7–
  2. 6COSC2
  3. 5COSC1
  4. 4COSC0
  5. 3CDIV3
  6. 2CDIV2
  7. 1CDIV1
  8. 0CDIV0
2 fields
FieldBitsWhat it does
COSC6:4
CDIV3:0

OSCCON3

Address
0xE45
Reset
0x00
Access
read/write
  1. 7CSWHOLD
  2. 6SOSCPWR
  3. 5–
  4. 4ORDY
  5. 3NOSCR
  6. 2–
  7. 1–
  8. 0–
4 fields
FieldBitsWhat it does
CSWHOLD7
SOSCPWR6
ORDY4
NOSCR3

OSCSTAT

Address
0xE46
Reset
x (not fixed at power-on)
Access
read only
  1. 7EXTOR
  2. 6HFOR
  3. 5MFOR
  4. 4LFOR
  5. 3SOR
  6. 2ADOR
  7. 1–
  8. 0PLLR
7 fields
FieldBitsWhat it does
EXTOR7
HFOR6
MFOR5
LFOR4
SOR3
ADOR2
PLLR0

OSCEN

Address
0xE47
Reset
0x00
Access
read/write
  1. 7EXTOEN
  2. 6HFOEN
  3. 5MFOEN
  4. 4LFOEN
  5. 3SOSCEN
  6. 2ADOEN
  7. 1–
  8. 0–
6 fields
FieldBitsWhat it does
EXTOEN7
HFOEN6
MFOEN5
LFOEN4
SOSCEN3
ADOEN2

OSCTUNE

Address
0xE48
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5TUN5
  4. 4TUN4
  5. 3TUN3
  6. 2TUN2
  7. 1TUN1
  8. 0TUN0
1 field
FieldBitsWhat it does
TUN5:0

OSCFRQ

Address
0xE49
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3HFFRQ3
  6. 2HFFRQ2
  7. 1HFFRQ1
  8. 0HFFRQ0
1 field
FieldBitsWhat it does
HFFRQ3:0

VREGCON

Address
0xE4A
Reset
0x01
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1VREGPM
  8. 0–
1 field
FieldBitsWhat it does
VREGPM1

BORCON

Address
0xE4B
Reset
x (not fixed at power-on)
Access
read/write
  1. 7SBOREN
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0BORRDY
2 fields
FieldBitsWhat it does
SBOREN7
BORRDY0

CLKRCON

Address
0xF34
Reset
0x10
Access
read/write
  1. 7EN
  2. 6–
  3. 5–
  4. 4DC1
  5. 3DC0
  6. 2DIV2
  7. 1DIV1
  8. 0DIV0
3 fields
FieldBitsWhat it does
EN7
DC4:3
DIV2:0

CLKRCLK

Address
0xF35
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2CLK2
  7. 1CLK1
  8. 0CLK0
1 field
FieldBitsWhat it does
CLK2:0

PCON0

Address
0xFD7
Reset
x (not fixed at power-on)
Access
read/write
  1. 7STKOVF
  2. 6STKUNF
  3. 5nWDTWV
  4. 4nRWDT
  5. 3nRMCLR
  6. 2nRI
  7. 1nPOR
  8. 0nBOR
8 fields
FieldBitsWhat it does
STKOVF7
STKUNF6
nWDTWV5
nRWDT4
nRMCLR3
nRI2
nPOR1
nBOR0