37.15.3 LUT Control x

Note: LUTCTRLn register is Enable Protected when CCL.LUTCTRLn.ENABLE = 1.
Table 37-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..7]
Reset: 0x00000000
Property: RW

Bit 3130292827262524 
 TRUTH[7:0] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 2322212019181716 
  LUTEOLUTEIINVEIINSEL2[3:0] 
Access RWRWRWRWRWRWRW 
Reset 0000000 
Bit 15141312111098 
 INSEL1[3:0]INSEL0[3:0] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 76543210 
 EDGESEL FILTSEL[1:0]  ENABLE  
Access RWRWRWRW 
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 19:16 – INSEL2[3:0] Input Selection 2

ValueNameDescription
0x0MASKMasked input
0x1FEEDBACKFeedback input source
0x3EVENTEvent input source
0x4IOI/O pin input source
0x5PERSEL0Peripheral 0 input source
0x6PERSEL1Peripheral 1 input source
0x7PERSEL2Peripheral 2 input source
0x8PERSEL3Peripheral 3 input source
0x9PERSEL4Peripheral 4 input source
0xAPERSEL5Peripheral 5 input source
0xBASYNCEVENTAsynchronous event input source. The EVENT input will bypass edge detection logic.

Bits 15:12 – INSEL1[3:0] Input Selection 1

ValueNameDescription
0x0MASKMasked input
0x1FEEDBACKFeedback input source
0x3EVENTEvent input source
0x4IOI/O pin input source
0x5PERSEL0Peripheral 0 input source
0x6PERSEL1Peripheral 1 input source
0x7PERSEL2Peripheral 2 input source
0x8PERSEL3Peripheral 3 input source
0x9PERSEL4Peripheral 4 input source
0xAPERSEL5Peripheral 5 input source
0xBASYNCEVENTAsynchronous event input source. The EVENT input will bypass edge detection logic.

Bits 11:8 – INSEL0[3:0] Input Selection 0

ValueNameDescription
0x0MASKMasked input
0x1FEEDBACKFeedback input source
0x3EVENTEvent input source
0x4IOI/O pin input source
0x5PERSEL0Peripheral 0 input source
0x6PERSEL1Peripheral 1 input source
0x7PERSEL2Peripheral 2 input source
0x8PERSEL3Peripheral 3 input source
0x9PERSEL4Peripheral 4 input source
0xAPERSEL5Peripheral 5 input source
0xBASYNCEVENTAsynchronous event input source. The EVENT input will bypass edge detection logic.

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