30.2 Overview

The Configurable Custom Logic (CCL) is a programmable logic peripheral that can be connected to device pins, events, or other internal peripherals. The CCL can serve as ‘glue logic’ between the device peripherals and external devices. It can eliminate the need for external logic components and can also help designers overcome real-time constraints by combining Core Independent Peripherals (CIPs) to handle the most time-critical parts of an application independently of the CPU.

The CCL peripheral provides a number of Look-up Tables (LUTs). Each LUT consists of three inputs, a truth table, a synchronizer/filter, and an edge detector. Each LUT can generate an output as a user programmable logic expression with three inputs. The output is generated from the inputs using the combinatorial logic and can be filtered to remove spikes. The CCL can be configured to generate an interrupt request on changes in the LUT outputs.

Neighboring LUTs can be combined to perform specific operations. A sequencer can be used to generate complex waveforms.