# CCL Setup

The CCL is a programmable logic peripheral which can be connected to pins, events, or other internal peripherals. The CCL can serve as glue logic between the device peripherals and external devices.

On the functional safety demonstrator the LUT0 inputs are connected like this:

• IN[0] connected to TCA0 wave output 0
• IN[1] connected to TCA0 wave output 1
The CCL is configured as an exclusive NOR gate, which means that when the input signals to the CCL are not equal, the CCL output will become "0".