12.6.10 Combinatorial PWM Logic Control Register y

Note:
  1. 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 15141312111098 
 PWMS1y[3:0]PWMS2y[3:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 S1yPOLS2yPOLPWMLFy[1:0] PWMLFyD[2:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bits 15:12 – PWMS1y[3:0]  Combinatorial PWM Logic Source #1 Selection bits(1)

ValueDescription
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)

ValueDescription
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

ValueDescription
1

Input is inverted.

0

Input is positive logic.

Bit 6 – S2yPOL Combinatorial PWM Logic Source #2 Polarity bit

ValueDescription
1

Input is inverted.

0

Input is positive logic.

Bits 5:4 – PWMLFy[1:0] Combinatorial PWM Logic Function Selection bits

ValueDescription
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

ValueDescription
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.