|
PIC24FV16KM204 Datasheet, PDF (195/336 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontroller with XLP Technology Data Sheet | |||
|
◁ |
PIC24FV16KM204 FAMILY
17.0 CONFIGURABLE LOGIC CELL
(CLC)
The Configurable Logic Cell (CLC) module allows the
user to specify combinations of signals as inputs to a
logic function and to use the logic output to control
other peripherals or I/O pins. This provides greater flex-
ibility and potential in embedded designs since the CLC
module can operate outside the limitations of software
execution and supports a vast amount of output
designs.
There are four input gates to the selected logic func-
tion. These four input gates select from a pool of up to
32 signals that are selected using four data source
selection multiplexers. Figure 17-1 shows an overview
of the module. Figure 17-3 shows the details of the data
source multiplexers and logic input gate connections.
FIGURE 17-1:
CLCx MODULE
CLCIN[0]
CLCIN[1]
CLCIN[2]
CLCIN[3]
CLCIN[4]
CLCIN[5]
CLCIN[6]
CLCIN[7]
CLCIN[8]
CLCIN[9]
CLCIN[10]
CLCIN[11]
CLCIN[12]
CLCIN[13]
CLCIN[14]
CLCIN[15]
CLCIN[16]
CLCIN[17]
CLCIN[18]
CLCIN[19]
CLCIN[20]
CLCIN[21]
CLCIN[22]
CLCIN[23]
CLCIN[24]
CLCIN[25]
CLCIN[26]
CLCIN[27]
CLCIN[28]
CLCIN[29]
CLCIN[30]
CLCIN[31]
See Figure 17-2
Gate 1
LCEN
Gate 2 Logic
Gate 3 Function Logic
Gate 4
Output
LCPOL
MODE<2:0>
See Figure 17-3
D Q LCOUT
CLCFRZ LE
CLCx
Output
LCOE
TRISx Control
CLCx
Interrupt
det
INTP
INTN
Interrupt
det
Sets
CLCxIF
Flag
Note: All register bits shown in this figure can be found in the CLCxCONL register.
ï£ 2013 Microchip Technology Inc.
Advance Information
DS33030A-page 195
|
▷ |