43.7.3 LUT Control n

Note: LUTCTRLn register is Enable Protected when CCL.LUTCTRLn.ENABLE = 1.
Table 43-8. 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: LUTCTRLn
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 Table

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

Bit 22 – LUTEO LUT Event Output Enable

ValueDescription
0LUT event output is disabled.
1LUT event output is enabled.

Bit 21 – LUTEI LUT Event Input Enable

ValueDescription
0LUT incoming event is disabled.
1LUT incoming event is enabled.

Bit 20 – INVEI Inverted Event Input Enable

ValueDescription
0Incoming event is not inverted.
1Incoming event is inverted.

Bits 8:11, 12:15, 16:19 – INSELy y = [0,1,2]. LUT Input y Source Selection

These bits select the LUT input y source:

Note: TCC6 and TCC7 connections are unavailable for devices that do not have those TCC instances.
ValueNameDescription
0x0MASKMasked input
0x1FEEDBACKFeedback input source
0x2LINKLinked LUT input source
0x3EVENTEvent input source
0x4IOI/O pin input source
0x0B - 0x0FReservedReserved
Table 43-9. CCL Internal Connection
0x50x60x70x80x90xA
LUT0.IN0AC0 outputSERCOM0 padout[0]TCC0 WO0TCC0 WO4TCC4 WO0TCC5 WO0
LUT0.IN1AC0 outputSERCOM0 padout[0]TCC0 WO1TCC0 WO5TCC4 WO1TCC5 WO1
LUT0.IN2AC0 outputSERCOM0 padout[0]TCC0 WO2TCC0 WO6TCC4 WO0TCC5 WO0
LUT1.IN0AC1 outputSERCOM1 padout[0]TCC1 WO0TCC1 WO4TCC6 WO0TCC7 WO0
LUT1.IN1AC1 outputSERCOM1 padout[0]TCC1 WO1TCC1 WO5TCC6 WO1TCC7 WO1
LUT1.IN2AC1 outputSERCOM1 padout[0]TCC1 WO2TCC1 WO6TCC6 WO0TCC7 WO0
LUT2.IN0AC0 outputSERCOM2 padout[0]TCC2 WO0TCC2 WO4TCC0 WO0TCC1 WO0
LUT2.IN1AC0 outputSERCOM2 padout[0]TCC2 WO1TCC2 WO5TCC0 WO1TCC1 WO1
LUT2.IN2AC0 outputSERCOM2 padout[0]TCC2 WO2TCC2 WO6TCC0 WO0TCC1 WO0
LUT3.IN0AC1 outputSERCOM3 padout[0]TCC3 WO0TCC3 WO4TCC2 WO0TCC3 WO0
LUT3.IN1AC1 outputSERCOM3 padout[0]TCC3 WO1TCC3 WO5TCC2 WO1TCC3 WO1
LUT3.IN2AC1 outputSERCOM3 padout[0]TCC3 WO2TCC3 WO6TCC2 WO0TCC3 WO0

Bit 7 – EDGESEL Edge Selection

ValueDescription
0Edge detector is disabled.
1Edge detector is enabled.

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

These bits select the LUT output filter options:

Filter Selection

ValueNameDescription
0x0DISABLEFilter disabled
0x1SYNCHSynchronizer enabled
0x2FILTERFilter enabled
0x3-Reserved

Bit 1 – ENABLE LUT Enable

ValueDescription
0The LUT is disabled.
1The LUT is enabled.