Struct daisy::PWMHandle::Channel::Config¶
ClassList > daisy > PWMHandle > Channel > Config
Configuration struct for an individual channel. More...
#include <pwm.h>
Public Types¶
Type | Name |
---|---|
enum | Polarity Output polarity. |
Public Attributes¶
Type | Name |
---|---|
Pin | pin Pin to use for this channel. Ensure that this is the proper pin for the timer and channel. Use PORTX (default) to select the channel's default pin. |
Polarity | polarity |
Public Functions¶
Type | Name |
---|---|
Config () |
|
Config (Pin pin_, Polarity polarity_=Polarity::HIGH) |
Detailed Description¶
Note:
These settings are used during initialization and changing them afterwards may not have the desired effect.
Public Types Documentation¶
enum Polarity¶
Output polarity.
Public Attributes Documentation¶
variable pin¶
Pin to use for this channel. Ensure that this is the proper pin for the timer and channel. Use PORTX (default) to select the channel's default pin.
variable polarity¶
Public Functions Documentation¶
function Config [½]¶
function Config [2/2]¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/per/pwm.h