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 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| CFMREF[1:0] | REFCEN | ||||||||
| Access | R/W | R/W | R/W | ||||||
| Reset | 0 | 0 | 0 | ||||||
Bits 2:1 – CFMREF[1:0] CFM Reference Source
Selects the source for the reference clock for CFM.
| Value | Name | Description |
|---|---|---|
0x0 | OSCHF | High frequency internal oscillator |
0x1 | XOSCHF | High frequency external oscillator |
0x2 | XOSC32K | 32.768 kHz external oscillator |
0x3 | OSC32K | 32.768 kHz internal oscillator |
Bit 0 – REFCEN Reference Clock enable
Controls the reference clock.
| Value | Name | Description |
|---|---|---|
0x0 | DISABLE | Reference clock disabled |
0x1 | ENABLE | Reference clock enabled |
