12.6.10 Combinatorial PWM Logic Control Register y
Note:
- Logic function input will be connected to ‘
0’ if the PWM channel is not present.
| Name: | LOGCONy |
| Offset: | 0x312, 0x314, 0x316, 0x318, 0x31A, 0x31C |
| 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-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-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-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. |
