6.2 CONFIG2
Name: | CONFIG2 |
Address: | 0x30001 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
FCMEN | CSWEN | PR1WAY | CLKOUTEN | ||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 1 | 1 | 1 | 1 |
Bit 5 – FCMEN Fail-Safe Clock Monitor Enable
Value | Description |
---|---|
1 | Fail-Safe Clock Monitor enabled |
0 | Fail-Safe Clock Monitor disabled |
Bit 3 – CSWEN Clock Switch Enable
Value | Description |
---|---|
1 | Writing to NOSC and NDIV is allowed |
0 | The NOSC and NDIV bits cannot be changed by user software |
Bit 1 – PR1WAY PRLOCKED One-Way Set Enable
Value | Description |
---|---|
1 | The PRLOCKED bit can be cleared and set only once; Priority registers remain locked after one clear/set cycle |
0 | The PRLOCKED bit can be set and cleared repeatedly (subject to the unlock sequence) |
Bit 0 – CLKOUTEN Clock Out Enable
If FEXTOSC = HS, XT, LP, then this bit is ignored.
Otherwise:
Value | Description |
---|---|
1 | CLKOUT function is disabled; I/O function on OSC2 |
0 | CLKOUT function is enabled; FOSC/4 clock appears at OSC2 |