27.2 Overview
The Configurable Custom Logic (CCL) is a programmable logic peripheral that can be connected to the device pins, events or other internal peripherals. The CCL can serve as glue logic between the device peripherals and external devices. The CCL can eliminate the need for external logic components and can also help the designer to overcome real-time constraints by combining core independent peripherals to handle the most time-critical parts of the application independent of the CPU.
The CCL peripheral provides several 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 inputs can be individually masked.
The output is generated from the inputs using the combinatorial logic and can be filtered to remove spikes. Combine neighboring LUTs to perform specific operations. Use a sequencer for generating complex waveforms.