English
Language : 

PIC16LF1503 Datasheet, PDF (224/340 Pages) Microchip Technology – 14-Pin Flash, 8-Bit Microcontrollers
PIC16(L)F1503
23.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 23-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 23-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]
lcxg1
lcxg2
lcxg3
lcxg4
Logic
Function
LCxEN
lcxq
LCxMODE<2:0>
LCxPOL
Note: See Figure 23-2
DQ
Q1 LE
LCxOUT
MLCxOUT
lcx_out
LCxOE
TRIS Control
CLCx
Interrupt
det
LCxINTP
LCxINTN
Interrupt
det
sets
CLCxIF
flag
DS41607A-page 224
Preliminary
 2011 Microchip Technology Inc.