17.3.14 PWM Generator x Event Register

Note:
  1. Caution should be exercised when modifying this bit(s) while PGxCON.ON = 1; unexpected results may occur.
  2. This source can optionally be used as a PCI input, PCI qualifier, PCI terminator or PCI terminator qualifier.
Table 17-20. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Gray cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
CWrite to clearSSoftware settable bitxChannel number
Name: PGxEVT
Offset: 0x105C, 0x10A4, 0x10EC, 0x1134

Bit 3130292827262524 
 FLTIENCLIENFFIENSIEN  IEVTSEL[1:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 2322212019181716 
 ADTR2EN3ADTR2EN2ADTR2EN1ADTR1OFS[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 ADTR1PS[4:0]ADTR1EN3ADTR1EN2ADTR1EN1 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 PWMPCI[2:0]UPDTRG[1:0]PGTRGSEL[2:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 31 – FLTIEN PCI Fault Interrupt Enable

Note: An interrupt is only generated on the rising edge of the PCI Fault active signal.
ValueDescription
1

Fault interrupt is enabled

0

Fault interrupt is disabled

Bit 30 – CLIEN PCI Current Limit Interrupt Enable

Note: An interrupt is only generated on the rising edge of the PCI current limit active signal.
ValueDescription
1

Current limit interrupt is enabled

0

Current limit interrupt is disabled

Bit 29 – FFIEN PCI Feed-Forward Interrupt Enable

Note: An interrupt is only generated on the rising edge of the PCI feed-forward active signal.
ValueDescription
1

Feed-forward interrupt is enabled

0

Feed-forward interrupt is disabled

Bit 28 – SIEN PCI Sync Interrupt Enable

Note: An interrupt is only generated on the rising edge of the PCI Sync active signal.
ValueDescription
1

Sync interrupt is enabled

0

Sync interrupt is disabled

Bits 25:24 – IEVTSEL[1:0]  Interrupt Event Selection(1)

ValueDescription
11

Time base interrupts are disabled (Sync, Fault, current limit and feed-forward events can be independently enabled)

10

Interrupts CPU at ADC Trigger 1 event

01

Interrupts CPU at TRIGA compare event

00

Interrupts CPU at EOC

Bit 23 – ADTR2EN3  ADC Trigger 2 Source is PGxTRIGC Compare Event Enable(1)

ValueDescription
1

PGxTRIGC register compare event is enabled as trigger source for ADC Trigger 2

0

PGxTRIGC register compare event is disabled as trigger source for ADC Trigger 2

Bit 22 – ADTR2EN2  ADC Trigger 2 Source is PGxTRIGB Compare Event Enable(1)

ValueDescription
1

PGxTRIGB register compare event is enabled as trigger source for ADC Trigger 2

0

PGxTRIGB register compare event is disabled as trigger source for ADC Trigger 2

Bit 21 – ADTR2EN1  ADC Trigger 2 Source is PGxTRIGA Compare Event Enable(1)

ValueDescription
1

PGxTRIGA register compare event is enabled as trigger source for ADC Trigger 2

0

PGxTRIGA register compare event is disabled as trigger source for ADC Trigger 2

Bits 20:16 – ADTR1OFS[4:0]  ADC Trigger 1 Offset Selection(1)

ValueDescription
11111

Offset by 31 trigger events

. . .. . .
00010

Offset by 2 trigger events

00001

Offset by 1 trigger event

00000

No offset

Bits 15:11 – ADTR1PS[4:0]  ADC Trigger 1 Postscaler Selection(1)

ValueDescription
11111

1:32

. . .. . .
00010

1:3

00001

1:2

00000

1:1

Bit 10 – ADTR1EN3  ADC Trigger 1 Source is PGxTRIGC Compare Event Enable(1)

ValueDescription
1

PGxTRIGC register compare event is enabled as trigger source for ADC Trigger 1

0

PGxTRIGC register compare event is disabled as trigger source for ADC Trigger 1

Bit 9 – ADTR1EN2  ADC Trigger 1 Source is PGxTRIGB Compare Event Enable(1)

ValueDescription
1

PGxTRIGB register compare event is enabled as trigger source for ADC Trigger 1

0

PGxTRIGB register compare event is disabled as trigger source for ADC Trigger 1

Bit 8 – ADTR1EN1  ADC Trigger 1 Source is PGxTRIGA Compare Event Enable(1)

ValueDescription
1

PGxTRIGA register compare event is enabled as trigger source for ADC Trigger 1

0

PGxTRIGA register compare event is disabled as trigger source for ADC Trigger 1

Bits 7:5 – PWMPCI[2:0]  PWM PCI Source Selection(2)

See Table 17-6 for device-specific PWM output selection for PCI signal.
ValueDescription
111 PWM Generator #8 output used as PCI signal
110PWM Generator #7 output used as PCI signal
101PWM Generator #6 output used as PCI signal
100PWM Generator #5 output used as PCI signal
011PWM Generator #4 output used as PCI signal
010PWM Generator #3 output used as PCI signal
001PWM Generator #2 output used as PCI signal
000PWM Generator #1 output used as PCI signal

Bits 4:3 – UPDTRG[1:0]  Update Trigger Select(1)

ValueDescription
11

A write of the PGxTRIGA register automatically sets the UPDREQ bit

10

A write of the PGxPHASE register automatically sets the UPDREQ bit

01

A write of the PGxDC register automatically sets the UPDREQ bit

00

User must set the UPDREQ bit (PGxSTAT[3]) manually

Bits 2:0 – PGTRGSEL[2:0]  PWM Generator Trigger Output Selection(1)

Note: These events are derived from the internal PWM Generator time base comparison events.
ValueDescription
111

Reserved

110

Reserved

101

Reserved

100

Reserved

011

PGxTRIGC compare event is the PWM Generator trigger

010

PGxTRIGB compare event is the PWM Generator trigger

001

PGxTRIGA compare event is the PWM Generator trigger

000

EOC event is the PWM Generator trigger