| 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:
Uses CCL to implement a simple logic AND gate
Shows how to use CCL combinational logic to detect a specific state of the external signals
Uses internal CCL sequential logic to create an SR latch
Demonstrates how to use CCL in combination with other peripherals to implement a Manchester encoder