40.
CCL – Configurable Custom Logic
40.1. Overview
The Configurable Custom Logic (CCL) is a programmable logic peripheral which can be connected to the
device pins, to events, or to other internal peripherals. This allows the user to eliminate logic gates for
simple glue logic functions on the PCB.
Each Lookup Table (LUT) consists of three inputs, a truth table, and as options synchronizer, filter and
edge detector. Each LUT can generate an output as a user programmable logic expression with three
inputs. Inputs can be individually masked.
The output can be combinatorially generated from the inputs, and can be filtered to remove spikes. An
optional sequential module can be enabled. The inputs of the sequential module are individually
controlled by two independent, adjacent LUT (LUT0/LUT1, LUT2/LUT3 etc) outputs, enabling complex
waveform generation.
40.2. Features
•
Glue logic for general purpose PCB design
•
Up to four Programmable LookUp Table (LUT)
•
Combinatorial Logic Functions:
AND, NAND, OR, NOR, XOR, XNOR, NOT
•
Sequential Logic Functions:
Gated D Flip-Flop, JK Flip-Flop, gated D Latch, RS Latch
•
Flexible LookUp Table Inputs Selection:
–
I/Os
–
Events
–
Internal Peripherals
–
Subsequent LUT Output
•
Output can be connected to IO pins or Event System
•
Optional synchronizer, filter, or edge detector available on each LUT output
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
970