39.15.3 LUT Control x

Note: LUTCTRLn register is Enable Protected when CCL.LUTCTRLn.ENABLE = 1.
Table 39-7. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: LUTCTRL
Offset: 0x08 + n*0x04 [n=0..3]
Reset: 0x00000000
Property: PAC Write-Protection, Enable-protected

Bit 3130292827262524 
 TRUTH[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
  LUTEOLUTEIINVEIINSEL2[3:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 15141312111098 
 INSEL1[3:0]INSEL0[3:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 EDGESEL FILTSEL[1:0]  ENABLE  
Access R/WR/WR/WR/W 
Reset 0000 

Bits 31:24 – TRUTH[7:0] Truth Value

These bits define the value of truth logic as a function of inputs IN[2:0].

Bit 22 – LUTEO LUT Event Output Enable

ValueNameDescription
0DISABLELUT event output is disabled
1ENABLELUT event output is enabled

Bit 21 – LUTEI LUT Event Input Enable

ValueNameDescription
0DISABLELUT incoming event is disabled
1ENABLELUT incoming event is enabled

Bit 20 – INVEI Inverted Event Input Enable

ValueNameDescription
0NORMALIncoming event is not inverted
1INVERTEDIncoming event is inverted

Bits 8:11, 12:15, 16:19 – INSELx LUTn Input Source Selection [n=0..2]

These bits select the LUTn input source for CCLm:
Table 39-8. CCL Internal Connection
0x40x50x60x70x80x90xA
LUT0.IN0CCLm_IN0AC0 outputSERCOM0 padout[0]TCC0 WO0TCC0 WO4TCC4 WO0TCC5 WO0
LUT0.IN1CCLm_IN1AC0 outputSERCOM0 padout[0]TCC0 WO1TCC0 WO5TCC4 WO1TCC5 WO1
LUT0.IN2CCLm_IN2AC0 outputSERCOM0 padout[0]RESERVEDTCC0 WO6TCC4 WO0TCC5 WO0
LUT1.IN0CCLm_IN3AC1 outputSERCOM1 padout[0]TCC1 WO0RESERVEDTCC6 WO0RESERVED
LUT1.IN1CCLm_IN4AC1 outputSERCOM1 padout[0]TCC1 WO1RESERVEDTCC6 WO1RESERVED
LUT1.IN2CCLm_IN5AC1 outputSERCOM1 padout[0]RESERVEDRESERVEDTCC6 WO0RESERVED
LUT2.IN0CCLm_IN6AC0 outputSERCOM2 padout[0]TCC2 WO0RESERVEDTCC0 WO0TCC1 WO0
LUT2.IN1CCLm_IN7AC0 outputSERCOM2 padout[0]TCC2 WO1RESERVEDTCC0 WO1TCC1 WO1
LUT2.IN2CCLm_IN8AC0 outputSERCOM2 padout[0]RESERVEDRESERVEDTCC0 WO0TCC1 WO0
LUT3.IN0CCLm_IN9AC1 outputSERCOM3 padout[0]TCC3 WO0RESERVEDTCC2 WO0TCC3 WO0
LUT3.IN1CCLm_IN10AC1 outputSERCOM3 padout[0]TCC3 WO1RESERVEDTCC2 WO1TCC3 WO1
LUT3.IN2CCLm_IN11AC1 outputSERCOM3 padout[0]RESERVEDRESERVEDTCC2 WO0TCC3 WO0
ValueNameDescription
0x0MASKMasked input
0x1FEEDBACKFeedback input source
0x2LINKLinked LUT input source
0x3EVENTEvent input source
0x4IOI/O pin input source
0x5ACAC input source
0x6SERCOMSERCOM input source
0x7TCCTCC input source
0x8TCCTCC input source
0x9TCCTCC input source
0xATCCTCC input source
0xB - 0xFReservedReserved

Bit 7 – EDGESEL Edge Selection

ValueNameDescription
0DISABLEEdge detector is disabled
1ENABLEEdge detector is enabled

Bits 5:4 – FILTSEL[1:0] Filter Selection

These bits select the LUT output filter options:

Filter Selection

ValueNameDescription
0DISABLEFilter disabled
1SYNCHSynchronizer enabled
2FILTERFilter enabled

Bit 1 – ENABLE LUT Enable

ValueNameDescription
0DISABLELUT block is disabled
1ENABLELUT block is enabled