LUT Control x
Name:
LUTCTRLn
Offset:
0x08 + n*0x04 [n=0..3]
Reset:
0x00000000
Access:
PAC Write-Protection, Enable-Protected (except LUTEN)
Bit3130292827262524
TRUTH[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit2322212019181716
LUTEOLUTEIINVEIINSEL2[3:0]
AccessR/WR/WR/WR/WR/WR/WR/W
Reset0000000
Bit15141312111098
INSEL1[3:0]INSEL0[3:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit76543210
EDGESELFILTSEL[1:0]ENABLE
AccessR/WR/WR/WR/W
Reset0000

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

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

LUT Event Output Enable

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

Bit 21 – LUTEI: LUT Event Input Enable

LUT Event Input Enable

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

Bit 20 – INVEI: Inverted Event Input Enable

Inverted Event Input Enable

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

Bit 7 – EDGESEL: Edge Selection

Edge Selection

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

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

Filter Selection

These bits select the LUT output filter options:

Filter Selection

ValueNameDescription
0x0 DISABLE Filter disabled
0x1 SYNCH Synchronizer enabled
0x2 FILTER Filter enabled
0x3 - Reserved

Bit 1 – ENABLE: LUT Enable

LUT Enable

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

Bits 19:16,15:12,11:8 – INSELx: LUT Input x Source Selection

LUT Input x Source Selection

These bits select the LUT input x source:

ValueNameDescription
0x0 MASK Masked input
0x1 FEEDBACK Feedback input source
0x2 LINK Linked LUT input source
0x3 EVENT Event input source
0x4 IO I/O pin input source
0x5 AC AC input source
0x6 TC TC input source
0x7 ALTTC Alternative TC input source
0x8 TCC TCC input source
0x9 SERCOM SERCOM input source
0xA - 0xF - Reserved