16.4.48 Auxiliary PWM Combinatorial PWM Logic Control Register y

Note: ‘y’ denotes a common instance (A-F); the number of the available combinatorial PWM logic is device-dependent.
Name: ALOGCONy
Offset: 0x1420, 0x1424

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
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

Note: Logic function input will be connected to ‘0’ if the PWM channel is not present.
ValueDescription
1111-1000 Reserved
0111 PWML4
0110 PWMH4
0101 PWML3
0100 PWMH3
0011 PWML2
0010 PWMH2
0001 PWML1
0000 PWMH1

Bits 11:8 – PWMS2y[3:0] Combinatorial PWM Logic Source #2 Selection bits

Note: Logic function input will be connected to ‘0’ if the PWM channel is not present.
ValueDescription
1111-1000 Reserved
0111 PWML4
0110 PWMH4
0101 PWML3
0100 PWMH3
0011 PWML2
0010 PWMH2
0001 PWML1
0000 PWMH1

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

PWMS1y ^ PWMS2y (XOR)

01

PWMS1y & PWMS2y (AND)

00

PWMS1y | PWMS2y (OR)

Bits 2:0 – PWMLFyD[2:0] Combinatorial PWM Logic Destination Selection bits

Note: Instances of y = A, C, E of LOGCONy assign logic function output to the PWMxH pin. Instances of y = B, D, F of LOGCONy assign logic function to the PWMxL pin.
ValueDescription
1111-1000 Reserved
0111 PWML4
0110 PWMH4
0101 PWML3
0100 PWMH3
0011 PWML2
0010 PWMH2
0001 PWML1
0000 PWMH1