29.5.9 LUT n Control B
Note:
- SPI connections to the CCL work in Host SPI mode only.
- USART connections to the CCL work only when the USART is in one of the following
modes:
- Asynchronous USART
- Synchronous USART host
Name: | LUTnCTRLB |
Offset: | 0x09 + n*0x04 [n=0..5] |
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 | Output from LUT[n+1] as input source |
0x3 | EVENTA | Event A as input source |
0x4 | EVENTB | Event B as input source |
0x5 | IN1 | IN1 input source |
0x6 | AC1 | AC1 OUT input source |
0x7 | ZCD1 | ZCD1 OUT input source |
0x8 | USART1 | USART1 TXD input source |
0x9 | SPI0 | SPI0 MOSI input source |
0xA | TCA0 | TCA0 WO1 input source |
0xB | TCA1 | TCA1 WO1 input source |
0xC | TCB1 | TCB1 WO input source |
0xD | TCD0 | TCD0 WOB input source |
Other | - | Reserved |
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 | Output from LUT[n+1] as input source |
0x3 | EVENTA | Event A as input source |
0x4 | EVENTB | Event B as input source |
0x5 | IN0 | IN0 input source |
0x6 | AC0 | AC0 OUT input source |
0x7 | ZCD0 | ZCD0 OUT input source |
0x8 | USART0 | USART0 TXD input source |
0x9 | SPI0 | SPI0 MOSI input source |
0xA | TCA0 | TCA WO0 input source |
0xB | TCA1 | TCA1 WO0 input source |
0xC | TCB0 | TCB0 WO input source |
0xD | TCD0 | TCD0 WOA input source |
Other | - | Reserved |