Microchip Technology dsPIC33F Family Especificaciones Pagina 68

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 118
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 67
dsPIC33F/PIC24H Family Reference Manual
DS70323E-page 43-68 © 2008-2012 Microchip Technology Inc.
Example 43-19: PWM Output Pin Mode Selection
Table 43-4 provides the PWM register functionality for the Independent Output mode.
Table 43-4: Independent Output Mode Register Functionality
Table 43-5 provides the PMOD<1:0> bits selections for the different topologies and configuration.
/* Select PWM I/O pin Mode – Choose one of the following output modes */
IOCON1bits.PMOD = 0; /* For Complementary Output mode */
IOCON1bits.PMOD = 1; /* For Redundant Output mode */
IOCON1bits.PMOD = 2; /* For Push-Pull Output mode */
IOCON1bits.PMOD = 3; /* For True Independent Output mode */
Time Base
Primary Master Time
Base
Secondary Master Time
Base
(1)
Independent Time Base
Function PWMxH PWMxL PWMxH PWMxL PWMxH PWMxL
PWM
Period
PTPER PTPER STPER STPER PHASEx SPHASEx
(2)
PWM Duty
Cycle
MDC/PDCX MDC/SDCX MCD/PDCx MDC/PDCx MDC/PDCx MDC/SDCx
PWM
Phase Shift
PHASEx SPHASEx
(2)
PHASEx SPHA-
SEx
(2)
N/A N/A
ADC
Trigger
SEVTCMP/
TRIGx/
STRIGx
SEVTCMP/
TRIGx/
STRIGx
SSEV-
TCMP/TRI
Gx/
STRIGx
SSEV-
TCMP/TRI
Gx/
STRIGx
TRIGx STRIGx
Note 1: Refer to the specific device data sheet for the availability of Secondary Master Time
Base.
2: The SPHASEx register is used only in Independent Output mode.
Vista de pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 117 118

Comentarios a estos manuales

Sin comentarios