Microchip® Advanced Software Framework

Quick start guide for CCP driver

This is the quick start guide for the Configuration Change Protection (CCP) driver, with step-by-step instructions on how to use the driver.

The use case contains a code fragment, and this can be copied into, e.g., the main application function.

Basic use case

In this use case, the CCP is used to write to the protected XMEGA Clock Control register.

Workflow

  1. call CCP write io to change system clock selection: