|
Veethree D7 SDK
|
The pwm_out_channel class.
This class holds the configuration for a particular PWM output channel. It is also responsible for enabling/disabling the channel.
#include <pwm_out_channel.h>
Public Member Functions | |
| pwm_out_channel (const pwm_out_descriptor &desc) | |
| The class constructor. | |
| pwm_out_channel (std::shared_ptr< digital_context_interface > instance, const pwm_out_descriptor &desc) | |
| The class constructor. | |
| void | set_on () |
| Set channel output to ON. | |
| void | set_off () |
| Set channel output to OFF. | |
| pwm_out_descriptor | descriptor () const |
| Return a descriptor with the channel configuration used when the class was instantiated. | |
| pwm_out_channel (const pwm_out_channel &other)=delete | |
| pwm_out_channel (pwm_out_channel &&other) noexcept | |
| pwm_out_channel & | operator= (const pwm_out_channel &other)=delete |
| pwm_out_channel & | operator= (pwm_out_channel &&other) noexcept |
The pwm_out_channel class.
This class holds the configuration for a particular PWM output channel. It is also responsible for enabling/disabling the channel.
|
explicit |
The class constructor.
| desc | The channel configuration. |
|
explicit |
The class constructor.
| instance | An class instance that conforms to digital_context_interface. |
| desc | The channel configuration. |
|
delete |
Standard constructors
|
noexcept |
Standard constructors
| pwm_out_descriptor vsdk::io::pwm_out_channel::descriptor | ( | ) | const |
Return a descriptor with the channel configuration used when the class was instantiated.
|
delete |
Standard assignment operators
|
noexcept |
Standard assignment operators