18.5.14 Main Clock Clock Frequency Measure n Control B

Attempting to write to this register without following the appropriate CCP unlock sequence will return a bus error.

Name: MCLKCFMnCTRLB
Offset: 0x19 + n*0x10 [n=0..1]
Reset: 0x00
Property: Configuration Change Protection

Bit 76543210 
      CFMREF[1:0]REFCEN 
Access R/WR/WR/W 
Reset 000 

Bits 2:1 – CFMREF[1:0] CFM Reference Source

Selects the source for the reference clock for CFM.

ValueNameDescription
0x0OSCHFHigh frequency internal oscillator
0x1XOSCHFHigh frequency external oscillator
0x2XOSC32K32.768 kHz external oscillator
0x3OSC32K32.768 kHz internal oscillator

Bit 0 – REFCEN Reference Clock enable

Controls the reference clock.

ValueNameDescription
0x0DISABLEReference clock disabled
0x1ENABLEReference clock enabled