13.6.9 Combinatorial PWM Logic Control Register y
- Logic function input will be connected to ‘
0’ if the PWM channel is not present. - ‘y’ denotes a common instance (A-F).
| Name: | LOGCONy(2) |
| Offset: | 0x0312, 0x0314, 0x0316, 0x0318, 0x031A, 0x031C |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| PWMS1y[3:0] | PWMS2y[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 | |
| S1yPOL | S2yPOL | PWMLFy[1:0] | PWMLFyD[2:0] | ||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
Bits 15:12 – PWMS1y[3:0] Combinatorial PWM Logic Source #1 Selection bits(1)
| Value | Description |
|---|---|
1111 |
PWM8L |
1110 |
PWM8H |
1101-1100 |
Reserved |
1011 |
PWM6L |
1010 |
PWM6H |
1001-1000 |
Reserved |
0111 |
PWM4L |
0110 |
PWM4H |
0101 |
PWM3L |
0100 |
PWM3H |
0011 |
PWM2L |
0010 |
PWM2H |
0001 |
PWM1L |
0000 |
PWM1H |
Bits 11:8 – PWMS2y[3:0] Combinatorial PWM Logic Source #2 Selection bits(1)
| Value | Description |
|---|---|
1111 |
PWM8L |
1110 |
PWM8H |
1101-1100 |
Reserved |
1011 |
PWM6L |
1010 |
PWM6H |
1001-1000 |
Reserved |
0111 |
PWM4L |
0110 |
PWM4H |
0101 |
PWM3L |
0100 |
PWM3H |
0011 |
PWM2L |
0010 |
PWM2H |
0001 |
PWM1L |
0000 |
PWM1H |
Bit 7 – S1yPOL Combinatorial PWM Logic Source #1 Polarity bit
| Value | Description |
|---|---|
1 |
Input is inverted |
0 |
Input is positive logic |
Bit 6 – S2yPOL Combinatorial PWM Logic Source #2 Polarity bit
| Value | Description |
|---|---|
1 |
Input is inverted |
0 |
Input is positive logic |
Bits 5:4 – PWMLFy[1:0] Combinatorial PWM Logic Function Selection bits
| Value | Description |
|---|---|
11 |
Reserved |
10 |
PWMS1 ^ PWMS2 (XOR) |
01 |
PWMS1 & PWMS2 (AND) |
00 |
PWMS1 | PWMS2 (OR) |
Bits 2:0 – PWMLFyD[2:0] Combinatorial PWM Logic Destination Selection bits
| Value | Description |
|---|---|
111 |
Logic function is assigned to the PWM8H or PWM8L pin |
110 |
Reserved |
101 |
Logic function is assigned to the PWM6H or PWM6L pin |
100 |
Reserved |
011 |
Logic function is assigned to the PWM4H or PWM4L pin |
010 |
Logic function is assigned to the PWM3H or PWM3L pin |
001 |
Logic function is assigned to the PWM2H or PWM2L pin |
000 |
No assignment, combinatorial PWM logic function is disabled |
