English
Language : 

PIC16LF1507 Datasheet, PDF (161/266 Pages) Microchip Technology – 20-Pin Flash, 8-Bit Microcontrollers
PIC16(L)F1507
20.0 CONFIGURABLE LOGIC CELL
(CLC)
The Configurable Logic Cell (CLCx) provides program-
mable logic that operates outside the speed limitations
of software execution. The logic cell takes up to 16
input signals and through the use of configurable gates
reduces the 16 inputs to four logic lines that drive one
of eight selectable single-output logic functions.
Input sources are a combination of the following:
• I/O pins
• Internal clocks
• Peripherals
• Register bits
The output can be directed internally to peripherals and
to an output pin.
Refer to Figure 20-1 for a simplified diagram showing
signal flow through the CLCx.
Possible configurations include:
• Combinatorial Logic
- AND
- NAND
- AND-OR
- AND-OR-INVERT
- OR-XOR
- OR-XNOR
• Latches
- S-R
- Clocked D with Set and Reset
- Transparent D with Set and Reset
- Clocked J-K with Reset
FIGURE 20-1:
CLCx SIMPLIFIED BLOCK DIAGRAM
CLCxIN[0]
CLCxIN[1]
CLCxIN[2]
CLCxIN[3]
CLCxIN[4]
CLCxIN[5]
CLCxIN[6]
CLCxIN[7]
CLCxIN[8]
CLCxIN[9]
CLCxIN[10]
CLCxIN[11]
CLCxIN[12]
CLCxIN[13]
CLCxIN[14]
CLCxIN[15]
See Figure 20-3
lcxg1
LCxEN
lcxg2 Logic lcxq
lcxg3 Function
lcxg4
LCxMODE<2:0>
LCxPOL
See Figure 20-2
DQ
Q1 LE
LCxOUT
MLCxOUT
lcx_out
LCxOE
TRIS Control
CLCx
Interrupt
det
LCxINTP
LCxINTN
Interrupt
det
sets
CLCxIF
flag
DS41586A-page 161
Preliminary
 2011 Microchip Technology Inc.