Introduction

Author: Cristian Pop, Microchip Technology Inc.

The Configurable Custom Logic (CCL) is a programmable logic peripheral that allows the on-chip creation of the logic functions for Microchip tinyAVR® 0- and 1-series, and megaAVR® 0-series devices. The CCL provides programmable, combinational and sequential logic that operates independently of the CPU execution. It can be connected to a wide range of internal and external inputs such as device pins, events, or other internal peripherals and can serve as a "glue logic" between the device peripherals and external devices. This technical brief explains how to use the CCL in order to implement the following functions:

Note: The code examples were developed using the ATmega4809 Xplained Pro board (ATMEGA4809-XPRO).