8.6.2 OSCCON2
Note:
- The POR value is the value present when user code execution begins.
- The Reset value (n) is the same as the OSCCON1[NOSC/NDIV] bits.
- EXTOSC configured by the CONFIG1[FEXTOSC] bits.
- HFINTOSC frequency is configured with the FRQ bits of the OSCFRQ register.
Name: | OSCCON2 |
Offset: | 0x88E |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
COSC[2:0] | CDIV[3:0] | ||||||||
Access | RO | RO | RO | RO | RO | RO | RO | ||
Reset | n | n | n | n | n | n | n |
Bits 6:4 – COSC[2:0] Current Oscillator Source Select bits (read-only)(1,2)
Indicates the current source oscillator and PLL combination, as shown in the following table.
COSC/NOSC | Clock Source |
---|---|
111 |
EXTOSC(3) |
110 |
HFINTOSC(4) |
101 |
LFINTOSC |
100 |
SOSC |
011 |
Reserved |
010 |
EXTOSC + 4x PLL(3) |
001 |
HFINTOSC + 2x PLL(4) |
000 |
Reserved |
Bits 3:0 – CDIV[3:0] Current Divider Select bits (read-only)(1,2)
Indicates the current postscaler division ratio, as shown in the following table.
CDIV/NDIV | Clock Divider |
---|---|
1111-1010 |
Reserved |
1001 |
512 |
1000 |
256 |
0111 |
128 |
0110 |
64 |
0101 |
32 |
0100 |
16 |
0011 |
8 |
0010 |
4 |
0001 |
2 |
0000 |
1 |