18.5.8 Main Clock Clock Failure Detect n Control A

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

Name: MCLKCFDnCTRLA
Offset: 0x08 + n*0x01 [n=0..1]
Reset: 0x00
Property: Configuration Change Protection

Bit 76543210 
   CFDSRC[2:0]CFDREF[1:0]CFDEN 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 

Bits 5:3 – CFDSRC[2:0] CFD Source

Selects the clock to monitor with the CFD channel.

ValueNameDescription
0x0MCLKMain Clock
0x1OSCHFHigh frequency internal oscillator
0x2OSC32K32.768 kHz internal oscillator
0x3XOSCHFHigh frequency external oscillator
0x4XOSC32K32.768 kHz external oscillator
0x5-0x6-Reserved
0x7EVSYSEvent system channel input

Bits 2:1 – CFDREF[1:0] Clock Failure Detect Reference

Reference clock for CFD channel.

ValueNameDescription
0x0OSC32K32.768 kHz internal oscillator
0x1ONEDIV321 MHz from OSCHF divided by 32
0x2XOSC32K32.768 kHz external crystal oscillator
Other-Reserved

Bit 0 – CFDEN Clock Failure Detect Enable

Enable CFD channel.

ValueNameDescription
0x0DISABLEDCFD disabled
0x1ENABLEDCFD enabled