15.4.13 PWM Generator x I/O Control 1 Register

Note:
  1. These bits cannot be modified while PGxCON.ON = 1.
  2. These bits cannot be modified while PCLKCON.LOCK = 1.
  3. Caution should be exercised when modifying these bits while PGxCON.ON = 1; unexpected results may occur.
  4. These bits are effective only when CAPTREN is set high (see Capture to Trigger).
  5. PGxTRIGF has a dedicated function in Complementary mode (see Output Override Behavior in Complementary Output Mode with PWMxL’s Max On-time Adjustment).
  6. Care must be taken if the selected trigger is also selected by PGxEVT1.PGTRGSEL[2:0].
Name: PGxIOCON1
Offset: 0x1058, 0x10CC, 0x1140, 0x11B4

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 CAPENCAPSRC[2:0]CAPTREN CAPTRSEL[1:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 15141312111098 
     SWAPFORCEONPPSENDTCMPSEL 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 76543210 
   PMOD[1:0]PENHPENLPOLHPOLL 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 

Bit 23 – CAPEN  Timebase Capture Enable bit(1)

ValueDescription
1 Time base value captured constantly based on CAPSRC[2:0].
0 Timebase value captured based on CAPSRC[2:0] only after the read of PGxCAP register.

Bits 22:20 – CAPSRC[2:0]  Time Base Capture Source Selection bits(1)

Note: A capture may be initiated in software at any time by writing a ‘1’ to PGxCAP[0].
ValueDescription
111

Reserved

110

Reserved

101

Capture time base value at assertion of selected PCI Fault 2 signal.

100

Capture time base value at assertion of selected PCI Fault 1 signal.

011

Capture time base value at assertion of selected PCI Current Limit signal.

010

Capture time base value at assertion of selected PCI Feed-Forward signal.

001

Capture time base value at assertion of selected PCI Sync signal.

000

No hardware source selected for time base capture – software only.

Bit 19 – CAPTREN  Timebase Capture to Trigger Enable bit(1)

ValueDescription
1 Time base capture to trigger enabled
0 Time base capture to trigger disabled

Bits 17:16 – CAPTRSEL[1:0]  Timebase Capture Trigger Register Selection bits(1,4,5,6)

ValueDescription
11 PGxTRIGF selected to store the 50% time base captured value when enabled.
10 PGxTRIGE selected to store the 50% time base captured value when enabled.
01 PGxTRIGD selected to store the 50% time base captured value when enabled.
00 PGxTRIGC selected to store the 50% time base captured value when enabled.

Bit 11 – SWAP Swap PWM Signals to PWMxH and PWMxL Device Pins bit

ValueDescription
1

The PWMxH signal is connected to the PWMxL pin, and the PWMxL signal is connected to the PWMxH pin.

0

PWMxH/L signals are mapped to their respective pins.

Bit 10 – FORCEON  Force On Select bit(1,2)

Note: This bit applies to the complementary output mode only (PGxIOCON1.OUTMOD[1:0] = 0b00).
ValueDescription
1 Active override happens immediately without taking the dead time into account.
0 Active override happens after taking the dead time into account.

Bit 9 – PPSEN  Peripheral Pin Select Enable bit(3)

ValueDescription
1 Peripheral pin select enabled.
0 Peripheral pin select disabled, as a result, PWM outputs are hard-mapped to pins.

Bit 8 – DTCMPSEL  Dead-Time Compensation Select bit(3)

ValueDescription
1

Dead-time compensation is controlled by PCI feed-forward limit logic.

0

Dead-time compensation is controlled by PCI Sync logic.

Bits 5:4 – PMOD[1:0]  PWM Generator Output Mode Selection bits(2)

ValueDescription
11 Reserved
10 PWM Generator outputs operate in Push-Pull mode.
01 PWM Generator outputs operate in Independent mode.
00 PWM Generator outputs operate in Complementary mode.

Bit 3 – PENH  PWMxH Output Port Enable bit(2)

ValueDescription
1 PWM Generator controls the PWMxH output pin.
0 PWM Generator does not control the PWMxH output pin.

Bit 2 – PENL  PWMxL Output Port Enable bit(2)

ValueDescription
1 PWM Generator controls the PWMxL output pin.
0 PWM Generator does not control the PWMxL output pin.

Bit 1 – POLH  PWMxH Output Polarity bit(2)

ValueDescription
1 Output pin is inverted.
0 Output pin is non-inverted.

Bit 0 – POLL  PWMxL Output Polarity bit(2)

ValueDescription
1 Output pin is inverted.
0 Output pin is non-inverted.