18.5.13 Main Clock Clock Frequency Measure n Control A

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

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

Bit 76543210 
    TYPECFMSRC[2:0]MEN 
Access R/WR/WR/WR/WR/W 
Reset 00000 

Bit 4 – TYPE Measurement Type

Controls whether the measurement will be done as a single (one-shot) measurement, or a continuous measurement.

ValueNameDescription
0x0ONESHOTOne-shot measurement
0x1CONTINUOUSContinuous measurement

Bits 3:1 – CFMSRC[2:0] CFM Measure Clock Source

Selects the source for the clock to be measured by CFM.

ValueNameDescription
0x0CLK_MAINMain Clock
0x1OSCHFHigh frequency internal oscillator
0x2OSC32K32.768 kHz internal oscillator
0x3XOSCHFHigh frequency external oscillator
0x4XOSC32K32.768 kHz external oscillator
0x5EVSYSEvent system channel input
Other-Reserved

Bit 0 – MEN Measurement Enable

Controls the frequency measurement process.

ValueNameDescription
0x0DISABLEFrequency measurement disabled
0x1ENABLEFrequency measurement enabled