![Microchip Technology PIC12F1501 Manual Download Page 256](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833256.webp)
2011-2015 Microchip Technology Inc.
DS40001609E-page 257
PIC16(L)F1508/9
24.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.
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 24-1:
CONFIGURABLE LOGIC CELL BLOCK DIAGRAM
Inpu
t Data Selectio
n Gates
(1)
Logic
Function
(2)
lcxg2
lcxg1
lcxg3
lcxg4
LCxMODE<2:0>
lcxq
LCxEN
LCx_in[0]
LCx_in[1]
LCx_in[2]
LCx_in[3]
LCx_in[4]
LCx_in[5]
LCx_in[6]
LCx_in[7]
LCx_in[8]
LCx_in[9]
LCx_in[10]
LCx_in[11]
LCx_in[12]
LCx_in[13]
LCx_in[14]
LCx_in[15]
LCxPOL
det
Interrupt
det
Interrupt
set bit
CLCxIF
LCXINTN
LCXINTP
LCxOE
TRIS Control
CLCx
to Peripherals
Q1
LCx_out
LCxOUT
MLCxOUT
D
Q
Rev. 10-000025A
8/1/2013
Note 1:
2: