29.5.4 LUT n Control B
SPI connections to the CCL work only in master SPI mode.
USART connections to the CCL work only in asynchronous/synchronous USART Master mode.
| Name: | LUTCTRLB |
| Offset: | 0x06 + n*0x04 [n=0..1] |
| Reset: | 0x00 |
| Property: | Enable-Protected |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| 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 | |
Bits 7:4 – INSEL1[3:0] LUT n Input 1 Source Selection
These bits select the source for input 1 of LUT n:
| Value | Name | Description |
|---|---|---|
| 0x0 | MASK | Masked input |
| 0x1 | FEEDBACK | Feedback input |
| 0x2 | LINK | Linked other LUT as input source |
| 0x3 | EVENT0 | Event input source 0 |
| 0x4 | EVENT1 | Event input source 1 |
| 0x5 | IO | I/O pin LUTn-IN1 input source |
| 0x6 | AC0 | AC0 OUT input source |
| 0x7 | TCB0 | TCB WO input source |
| 0x8 | TCA0 | TCA WO1 input source |
| 0x9 | TCD0 | TCD WOB input source |
| 0xA | USART0 | USART TXD input source |
| 0xB | SPI0 | SPI MOSI input source |
Bits 3:0 – INSEL0[3:0] LUT n Input 0 Source Selection
These bits select the source for input 0 of LUT n:
| Value | Name | Description |
|---|---|---|
| 0x0 | MASK | Masked input |
| 0x1 | FEEDBACK | Feedback input |
| 0x2 | LINK | Linked other LUT as input source |
| 0x3 | EVENT0 | Event input source 0 |
| 0x4 | EVENT1 | Event input source 1 |
| 0x5 | IO | I/O pin LUTn-IN0 input source |
| 0x6 | AC0 | AC0 OUT input source |
| 0x7 | TCB0 | TCB WO input source |
| 0x8 | TCA0 | TCA WO0 input source |
| 0x9 | TCD0 | TCD WOAn input source |
| 0xA | USART0 | USART XCK input source |
| 0xB | SPI0 | SPI SCK input source |
| Other | - | Reserved |
