trikRuntime
trikControl::PwmCaptureInterface Class Referenceabstract

Provides characteristics of PWM signal supplied to the port. More...

#include <pwmCaptureInterface.h>

Inheritance diagram for trikControl::PwmCaptureInterface:
Collaboration diagram for trikControl::PwmCaptureInterface:

Public Slots

virtual QVector< int > frequency ()=0
 Returns three readings of PWM signal frequency. More...
 
virtual int duty ()=0
 Returns PWM signal duty. More...
 

Additional Inherited Members

- Public Types inherited from trikControl::DeviceInterface
enum  Status {
  Status::permanentFailure, Status::temporaryFailure, Status::off, Status::starting,
  Status::ready, Status::stopping
}
 Device status. More...
 
- Public Member Functions inherited from trikControl::DeviceInterface
 DeviceInterface ()=default
 
virtual ~DeviceInterface ()=default
 
virtual Status status () const =0
 Returns current status of the device. More...
 
- Static Public Member Functions inherited from trikControl::DeviceInterface
static Status combine (const DeviceInterface &underlying, const DeviceInterface::Status &dependent)
 Helper method to return status of a device relying on other device to work. More...
 

Detailed Description

Provides characteristics of PWM signal supplied to the port.

Member Function Documentation

virtual int trikControl::PwmCaptureInterface::duty ( )
pure virtualslot

Returns PWM signal duty.

virtual QVector<int> trikControl::PwmCaptureInterface::frequency ( )
pure virtualslot

Returns three readings of PWM signal frequency.


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