CONFIG2

Configuration Byte 2
Name:
CONFIG2
Address:
30 0001h
Reset:
Access:
Bit76543210
FCMENSFCMENPFCMENCSWENPR1WAYCLKOUTEN
AccessR/WR/WR/WR/WR/WR/W
Reset111111

Bit 7 – FCMENS: Fail-Safe Clock Monitor Enable - Secondary XTAL Enable

Fail-Safe Clock Monitor Enable - Secondary XTAL Enable

ValueDescription
1 Fail-Safe Clock Monitor enabled; the timer will flag the FSCMS bit and OSFIF interrupt on SOSC failure
0 Fail-Safe Clock Monitor disabled

Bit 6 – FCMENP: Fail-Safe Clock Monitor Enable - Primary XTAL Enable

Fail-Safe Clock Monitor Enable - Primary XTAL Enable

ValueDescription
1 Fail-Safe Clock Monitor enabled; the timer will flag the FSCMP bit and OSFIF interrupt on EXTOSC failure
0 Fail-Safe Clock Monitor disabled

Bit 5 – FCMEN: Fail-Safe Clock Monitor Enable

Fail-Safe Clock Monitor Enable

ValueDescription
1 Fail-Safe Clock Monitor enabled
0 Fail-Safe Clock Monitor disabled

Bit 3 – CSWEN: Clock Switch Enable

Clock Switch Enable

ValueDescription
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

PRLOCKED One-Way Set Enable

ValueDescription
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

Clock Out Enable

If FEXTOSC = HS, XT, LP, then this bit is ignored.

Otherwise:

ValueDescription
1 CLKOUT function is disabled; I/O function on OSC2
0 CLKOUT function is enabled; FOSC/4 clock appears at OSC2