13.6.9 Combinatorial PWM Logic Control Register y

Note:
  1. Logic function input will be connected to ‘0’ if the PWM channel is not present.
  2. ‘y’ denotes a common instance (A-F).
Name: LOGCONy(2)
Offset: 0x0312, 0x0314, 0x0316, 0x0318, 0x031A, 0x031C

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

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)

ValueDescription
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

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

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