PIC16LF18857 OSCILLATOR registers The 14 registers of OSCILLATOR (Oscillator, power control and watchdog), from 0x80C, with their reset value and every field. The PIC16LF18857 has 445 registers in 45 peripherals, one page each.
OSCILLATOR Oscillator, power control and watchdog 7 – 6 – 5 WDTPS4 4 WDTPS3 3 WDTPS2 2 WDTPS1 1 WDTPS0 0 SEN 2 fields
Field Bits What it does WDTPS 5:1 SEN 0
7 – 6 WDTCS2 5 WDTCS1 4 WDTCS0 3 – 2 WINDOW2 1 WINDOW1 0 WINDOW0 2 fields
Field Bits What it does WDTCS 6:4 WINDOW 2:0
7 SBOREN 6 – 5 – 4 – 3 – 2 – 1 – 0 BORRDY 2 fields
Field Bits What it does SBOREN 7 BORRDY 0
7 STKOVF 6 STKUNF 5 nWDTWV 4 nRWDT 3 nRMCLR 2 nRI 1 nPOR 0 nBOR 8 fields
Field Bits What it does STKOVF 7 STKUNF 6 nWDTWV 5 nRWDT 4 nRMCLR 3 nRI 2 nPOR 1 nBOR 0
CPUDOZE
Address 0x88C
Reset 0x00
Access read/write 7 IDLEN 6 DOZEN 5 ROI 4 DOE 3 – 2 DOZE2 1 DOZE1 0 DOZE0 7 fields
Field Bits What it does IDLEN 7 DOZEN 6 ROI 5 DOE 4 DOZE2 2 DOZE1 1 DOZE0 0
7 – 6 NOSC2 5 NOSC1 4 NOSC0 3 NDIV3 2 NDIV2 1 NDIV1 0 NDIV0 2 fields
Field Bits What it does NOSC 6:4 NDIV 3:0
7 – 6 COSC2 5 COSC1 4 COSC0 3 CDIV3 2 CDIV2 1 CDIV1 0 CDIV0 2 fields
Field Bits What it does COSC 6:4 CDIV 3:0
OSCCON3
Address 0x88F
Reset 0x00
Access read/write 7 CSWHOLD 6 SOSCPWR 5 – 4 ORDY 3 NOSCR 2 – 1 – 0 – 4 fields
Field Bits What it does CSWHOLD 7 SOSCPWR 6 ORDY 4 NOSCR 3
7 EXTOR 6 HFOR 5 MFOR 4 LFOR 3 SOR 2 ADOR 1 – 0 PLLR 7 fields
Field Bits What it does EXTOR 7 HFOR 6 MFOR 5 LFOR 4 SOR 3 ADOR 2 PLLR 0
OSCEN
Address 0x891
Reset 0x00
Access read/write 7 EXTOEN 6 HFOEN 5 MFOEN 4 LFOEN 3 SOSCEN 2 ADOEN 1 – 0 – 6 fields
Field Bits What it does EXTOEN 7 HFOEN 6 MFOEN 5 LFOEN 4 SOSCEN 3 ADOEN 2
OSCTUNE
Address 0x892
Reset 0x20
Access read/write 7 – 6 – 5 HFTUN5 4 HFTUN4 3 HFTUN3 2 HFTUN2 1 HFTUN1 0 HFTUN0 1 field
Field Bits What it does HFTUN 5:0
7 – 6 – 5 – 4 – 3 – 2 HFFRQ2 1 HFFRQ1 0 HFFRQ0 1 field
Field Bits What it does HFFRQ 2:0
7 CLKREN 6 – 5 – 4 CLKRDC1 3 CLKRDC0 2 CLKRDIV2 1 CLKRDIV1 0 CLKRDIV0 3 fields
Field Bits What it does CLKREN 7 CLKRDC 4:3 CLKRDIV 2:0
CLKRCLK
Address 0x896
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 CLKRCLK3 2 CLKRCLK2 1 CLKRCLK1 0 CLKRCLK0 1 field
Field Bits What it does CLKRCLK 3:0