Microchip Technology Microstick for the 5V PIC24F K-series DM240013-2 DM240013-2 데이터 시트

제품 코드
DM240013-2
다운로드
페이지 338
 2013 Microchip Technology Inc.
 
DS30003030B-page 195
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. 
 shows an overview
of the module. 
 shows the details of the data
source multiplexers and logic input gate connections.
FIGURE 17-1:
CLCx MODULE
Gate 1
Gate 2
Gate 3
Gate 4
Interrupt
det
Logic
Function
Inp
u
Da
ta
 Sele
cti
on G
ates
CLCx
LCOE
Logic 
LCPOL
LCOUT
D
Q
LE
CLCFRZ
MODE<2:0>
CLCx 
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]
TRISx Control
Interrupt
det
INTP
INTN
LCEN
CLCxIF
Sets
Flag
Note:
All register bits shown in this figure can be found in the CLCxCONL register.
Output
Output
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