29.2 Architecture

The CLC consists of four main sections, as shown in Figure 29-1. First, the input data selection MUXes route input signals to the four data gates, as shown in Figure 29-2. Each of the four data gates can then select any of the 32 input signals to pass along to the logic functions shown in Figure 29-3. The output of the logic function is then supplied to the internal logic and external pin and can generate interrupts. The output of a CLC module can be routed to the input of another CLC module to create more complex logic functions.

Figure 29-1. Configurable Logic Cell
Note: All control bits shown in this figure can be found in the CLCxCON register.
Figure 29-2. CLC Input Source Selection Diagram
Figure 29-3. Logic Function Combinatorial Options