LUT Control x
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
TRUTH[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
LUTEO | LUTEI | INVEI | INSEL2[3:0] | ||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
INSEL1[3:0] | INSEL0[3:0] | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
EDGESEL | FILTSEL[1:0] | ENABLE | |||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 0 | 0 | 0 | 0 |
Truth Table
These bits define the value of truth logic as a function of inputs IN[2:0].
LUT Event Output Enable
Value | Description |
---|---|
0 | LUT event output is disabled. |
1 | LUT event output is enabled. |
LUT Event Input Enable
Value | Description |
---|---|
0 | LUT incoming event is disabled. |
1 | LUT incoming event is enabled. |
Inverted Event Input Enable
Value | Description |
---|---|
0 | Incoming event is not inverted. |
1 | Incoming event is inverted. |
LUT Input x Source Selection [x=0..3]
These bits select the LUT input x source:
Value | Name | Description |
---|---|---|
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: CMP[0] (LUT0) / CMP[1] (LUT1) |
0x6 | TC | TC input source: TC0 (LUT0) / TC1 (LUT1) |
0x7 | ALTTC | Alternative TC input source: TC1 (LUT0) / TC2 (LUT1) |
0x8 | Reserved | Reserved |
0x9 | SERCOM | SERCOM input source: SERCOM0 (LUT0) / SERCOM1 (LUT1) |
0xA | Reserved | Reserved |
0xB | ASYNCEVENT | Asynchronous event input source |
0xC - 0xF | Reserved | Reserved |
Edge Selection
Value | Description |
---|---|
0 | Edge detector is disabled. |
1 | Edge detector is enabled. |
Filter Selection
These bits select the LUT output filter options:
Filter Selection
Value | Name | Description |
---|---|---|
0x0 | DISABLE | Filter disabled |
0x1 | SYNCH | Synchronizer enabled |
0x2 | FILTER | Filter enabled |
0x3 | - | Reserved |
LUT Enable
This bit is not Enable-Protected
Value | Description |
---|---|
0 | The LUT is disabled. |
1 | The LUT is enabled. |