Configuration struct for an individual channel. More...
Configuration struct for an individual channel.
#include <pwm.h>
Public Types | |
| enum class | Polarity { HIGH = 0 , LOW } |
| Output polarity. More... | |
Public Member Functions | |
| Config () | |
| Config (Pin pin_, Polarity polarity_=Polarity::HIGH) | |
Public Attributes | |
| 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 |
|
strong |
|
inline |
|
inline |
| Pin daisy::PWMHandle::Channel::Config::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 daisy::PWMHandle::Channel::Config::polarity |