EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
eeros::hal::FlinkPwm Class Reference

#include <FlinkPwm.hpp>

Inheritance diagram for eeros::hal::FlinkPwm:
Collaboration diagram for eeros::hal::FlinkPwm:

Public Member Functions

 FlinkPwm (std::string id, FlinkDevice *device, uint32_t subDeviceNumber, uint32_t channel, double scale=1, double offset=0)
 
virtual double get ()
 
virtual void set (double dutyCycle)
 
virtual void setFrequency (double f)
 
virtual void setDutyCycle (double d)
 
- Public Member Functions inherited from eeros::hal::ScalablePeripheralOutput< double >
 ScalablePeripheralOutput (std::string id, doublescale, doubleoffset)
 
virtual ~ScalablePeripheralOutput ()
 
virtual double getScale ()
 
virtual double getOffset ()
 
virtual void setScale (doubles)
 
virtual void setOffset (doubleo)
 
- Public Member Functions inherited from eeros::hal::PeripheralOutput< double >
 PeripheralOutput (std::string id)
 
virtual ~PeripheralOutput ()
 
virtual std::string getId () const
 
- Public Member Functions inherited from eeros::hal::PeripheralOutputInterface
virtual ~PeripheralOutputInterface ()
 

Additional Inherited Members

- Protected Attributes inherited from eeros::hal::ScalablePeripheralOutput< double >
double scale
 
double offset
 

Constructor & Destructor Documentation

FlinkPwm::FlinkPwm ( std::string  id,
FlinkDevice device,
uint32_t  subDeviceNumber,
uint32_t  channel,
double  scale = 1,
double  offset = 0 
)

Here is the call graph for this function:

Member Function Documentation

double FlinkPwm::get ( )
virtual
void FlinkPwm::set ( double  dutyCycle)
virtual

Implements eeros::hal::PeripheralOutput< double >.

Here is the call graph for this function:

void FlinkPwm::setDutyCycle ( double  d)
virtual

Here is the caller graph for this function:

void FlinkPwm::setFrequency ( double  f)
virtual

Here is the caller graph for this function:


The documentation for this class was generated from the following files: