Datasheet
2013-2014 Microchip Technology Inc. DS70000689D-page 349
dsPIC33EPXXXGM3XX/6XX/7XX
25.0 PERIPHERAL TRIGGER
GENERATOR (PTG) MODULE
25.1 Module Introduction
The Peripheral Trigger Generator (PTG) provides a
means to schedule complex, high-speed peripheral
operations that would be difficult to achieve using soft-
ware. The PTG module uses 8-bit commands, called
“steps”, that the user writes to the PTG Queue register
(PTGQUE0-PTQUE15), which performs operations,
such as wait for input signal, generate output trigger
and wait for timer.
The PTG module has the following major features:
• Multiple Clock Sources
• Two 16-Bit General Purpose Timers
• Two 16-Bit General Limit Counters
• Configurable for Rising or Falling Edge Triggering
• Generates Processor Interrupts to Include:
- Four configurable processor interrupts
- Interrupt on a step event in Single-Step mode
- Interrupt on a PTG Watchdog Timer time-out
• Able to Receive Trigger Signals from these
Peripherals:
-ADC
-PWM
- Output Compare
- Input Capture
- Op Amp/Comparator
-INT2
• Able to Trigger or Synchronize to these
Peripherals:
- Watchdog Timer
- Output Compare
- Input Capture
-ADC
-PWM
- Op Amp/Comparator
Note 1: This data sheet summarizes the features
of the dsPIC33EPXXXGM3XX/6XX/7XX
family of devices. It is not intended to be
a comprehensive reference source. To
complement the information in this data
sheet, refer to the “dsPIC33/PIC24 Family
Reference Manual”, “Peripheral Trigger
Generator (PTG)” (DS70669), which is
available from the Microchip web site
(www.microchip.com).
2: Some registers and associated bits
described in this section may not be
available on all devices. Refer to
Section 4.0 “Memory Organization” in
this data sheet for device-specific register
and bit information.