PX4 Firmware
PX4 Autopilot Software http://px4.io
linux_pwm_out::PWMOutBase Class Referenceabstract

class PWMOutBase common abstract PWM output base class More...

#include <common.h>

Inheritance diagram for linux_pwm_out::PWMOutBase:
Collaboration diagram for linux_pwm_out::PWMOutBase:

Public Member Functions

virtual ~PWMOutBase ()
 
virtual int init ()=0
 
virtual int send_output_pwm (const uint16_t *pwm, int num_outputs)=0
 

Detailed Description

class PWMOutBase common abstract PWM output base class

Definition at line 45 of file common.h.

Constructor & Destructor Documentation

◆ ~PWMOutBase()

virtual linux_pwm_out::PWMOutBase::~PWMOutBase ( )
inlinevirtual

Definition at line 49 of file common.h.

References init(), and send_output_pwm().

Here is the call graph for this function:

Member Function Documentation

◆ init()

virtual int linux_pwm_out::PWMOutBase::init ( )
pure virtual

Implemented in linux_pwm_out::PCA9685, linux_pwm_out::BBBlueRcPWMOut, linux_pwm_out::NavioSysfsPWMOut, and linux_pwm_out::OcpocMmapPWMOut.

Referenced by linux_pwm_out::task_main(), and ~PWMOutBase().

Here is the caller graph for this function:

◆ send_output_pwm()

virtual int linux_pwm_out::PWMOutBase::send_output_pwm ( const uint16_t *  pwm,
int  num_outputs 
)
pure virtual

Implemented in linux_pwm_out::PCA9685, linux_pwm_out::BBBlueRcPWMOut, linux_pwm_out::NavioSysfsPWMOut, and linux_pwm_out::OcpocMmapPWMOut.

Referenced by linux_pwm_out::task_main(), and ~PWMOutBase().

Here is the caller graph for this function:

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