PIC18F97J94 OSCILLATOR registers The 15 registers of OSCILLATOR (Oscillator, power control and watchdog), from 0xEDB, with their reset value and every field. The PIC18F97J94 has 512 registers in 54 peripherals, one page each.
OSCILLATOR Oscillator, power control and watchdog REFO2CON3
Address 0xEDB
Reset 0x00
Access read/write 7 – 6 RODIV6 5 RODIV5 4 RODIV4 3 RODIV3 2 RODIV2 1 RODIV1 0 RODIV0 1 field
Field Bits What it does RODIV 6:0
REFO2CON2
Address 0xEDC
Reset 0x00
Access read/write 7 RODIV7 6 RODIV6 5 RODIV5 4 RODIV4 3 RODIV3 2 RODIV2 1 RODIV1 0 RODIV0 1 field
Field Bits What it does RODIV 7:0
REFO2CON1
Address 0xEDD
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 ROSEL3 2 ROSEL2 1 ROSEL1 0 ROSEL0 1 field
Field Bits What it does ROSEL 3:0
REFO2CON
Address 0xEDE
Reset 0x00
Access read/write 7 ROON 6 – 5 ROSIDL 4 ROOE 3 ROSSLP 2 – 1 DIVSWEN 0 ACTIVE 6 fields
Field Bits What it does ROON 7 ROSIDL 5 ROOE 4 ROSSLP 3 DIVSWEN 1 ACTIVE 0
REFO1CON3
Address 0xEDF
Reset 0x00
Access read/write 7 – 6 RODIV6 5 RODIV5 4 RODIV4 3 RODIV3 2 RODIV2 1 RODIV1 0 RODIV0 1 field
Field Bits What it does RODIV 6:0
REFO1CON2
Address 0xEE0
Reset 0x00
Access read/write 7 RODIV7 6 RODIV6 5 RODIV5 4 RODIV4 3 RODIV3 2 RODIV2 1 RODIV1 0 RODIV0 1 field
Field Bits What it does RODIV 7:0
REFO1CON1
Address 0xEE1
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 ROSEL3 2 ROSEL2 1 ROSEL1 0 ROSEL0 1 field
Field Bits What it does ROSEL 3:0
REFO1CON
Address 0xEE2
Reset 0x00
Access read/write 7 ROON 6 – 5 ROSIDL 4 ROOE 3 ROSSLP 2 – 1 DIVSWEN 0 ACTIVE 6 fields
Field Bits What it does ROON 7 ROSIDL 5 ROOE 4 ROSSLP 3 DIVSWEN 1 ACTIVE 0
ACTCON
Address 0xF63
Reset 0x00
Access read/write 7 ACTEN 6 – 5 ACTSIDL 4 ACTSRC 3 ACTLOCK 2 ACTLOCKPOL 1 ACTORS 0 ACTORSPOL 7 fields
Field Bits What it does ACTEN 7 ACTSIDL 5 ACTSRC 4 ACTLOCK 3 ACTLOCKPOL 2 ACTORS 1 ACTORSPOL 0
OSCCON4
Address 0xF64
Reset 0x00
Access read/write 7 CPDIV1 6 CPDIV0 5 PLLEN 4 – 3 – 2 – 1 – 0 – 2 fields
Field Bits What it does CPDIV 7:6 PLLEN 5
OSCCON3
Address 0xF65
Reset 0x01
Access read/write 7 – 6 – 5 – 4 – 3 – 2 IRCF2 1 IRCF1 0 IRCF0 1 field
Field Bits What it does IRCF 2:0
OSCCON2
Address 0xF66
Reset 0x00
Access read/write 7 CLKLOCK 6 IOLOCK 5 LOCK 4 – 3 CF 2 POSCEN 1 SOSCGO 0 – 6 fields
Field Bits What it does CLKLOCK 7 IOLOCK 6 LOCK 5 CF 3 POSCEN 2 SOSCGO 1
7 – 6 – 5 TUN5 4 TUN4 3 TUN3 2 TUN2 1 TUN1 0 TUN0 1 field
Field Bits What it does TUN 5:0
HLVDCON
Address 0xFA8
Reset 0x00
Access read/write 7 VDIRMAG 6 BGVST 5 IRVST 4 HLVDEN 3 HLVDL3 2 HLVDL2 1 HLVDL1 0 HLVDL0 5 fields
Field Bits What it does VDIRMAG 7 BGVST 6 IRVST 5 HLVDEN 4 HLVDL 3:0
7 IDLEN 6 COSC2 5 COSC1 4 COSC0 3 – 2 NOSC2 1 NOSC1 0 NOSC0 3 fields
Field Bits What it does IDLEN 7 COSC 6:4 NOSC 2:0