MityDSP Documentation Index
Public Member Functions | Public Attributes
MityDSP::tcDspPwmConfig Class Reference

The tcDspPwmConfig class provides a simple initialization structure for the purposes of configuring a tcDspPwm core class instance. More...

#include <core/DspPwm.h>

List of all members.

Public Member Functions

 tcDspPwmConfig (void)
 ~tcDspPwmConfig (void)

Public Attributes

bool mbIsExternalTrigger
 [true] external triggering will be enabled
bool mbIsContinuous
 [true] continuous pulse generation will be enabled
bool mbEnableFCInterrupt
 [false] fixed cycle interrupts will be enabled
unsigned char mnDivisorClocks
 [18] default (0 addition extended clock cycles added)
unsigned int mnCycleDuration
 [1000] number of cycles for one-shot mode
bool mbPulseEnables [DSP_PWM_NUMPULSES]
 [true for 0, false for 1-4] pulse 1 will be enabled
unsigned short mnPulseDelay [DSP_PWM_NUMPULSES]
 [10 for pulse 1] default delay cycles
unsigned short mnPulsePeriod [DSP_PWM_NUMPULSES]
 [100 for pulse 1] default period
unsigned short mnPulseOnTime [DSP_PWM_NUMPULSES]
 [20 for pulse 1] default on time per period

Detailed Description

The tcDspPwmConfig class provides a simple initialization structure for the purposes of configuring a tcDspPwm core class instance.

The class, when created, provides a set of default settings that the tcDspPwm class will use upon construction.

See also:
tcDspPwm Page

Constructor & Destructor Documentation

MityDSP::tcDspPwmConfig::tcDspPwmConfig ( void  )
inline
MityDSP::tcDspPwmConfig::~tcDspPwmConfig ( void  )
inline

Member Data Documentation

bool MityDSP::tcDspPwmConfig::mbIsExternalTrigger

[true] external triggering will be enabled

bool MityDSP::tcDspPwmConfig::mbIsContinuous

[true] continuous pulse generation will be enabled

bool MityDSP::tcDspPwmConfig::mbEnableFCInterrupt

[false] fixed cycle interrupts will be enabled

unsigned char MityDSP::tcDspPwmConfig::mnDivisorClocks

[18] default (0 addition extended clock cycles added)

unsigned int MityDSP::tcDspPwmConfig::mnCycleDuration

[1000] number of cycles for one-shot mode

bool MityDSP::tcDspPwmConfig::mbPulseEnables[DSP_PWM_NUMPULSES]

[true for 0, false for 1-4] pulse 1 will be enabled

unsigned short MityDSP::tcDspPwmConfig::mnPulseDelay[DSP_PWM_NUMPULSES]

[10 for pulse 1] default delay cycles

unsigned short MityDSP::tcDspPwmConfig::mnPulsePeriod[DSP_PWM_NUMPULSES]

[100 for pulse 1] default period

unsigned short MityDSP::tcDspPwmConfig::mnPulseOnTime[DSP_PWM_NUMPULSES]

[20 for pulse 1] default on time per period


  
Generated on Mon Apr 22 2013 11:33:04 for MityDSP Core by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.