pub struct PwmPinConfig {
pub output_type: OutputType,
pub speed: Speed,
pub pull: Pull,
}
Expand description
PWM pin config
This configures the pwm pin settings
Fields§
§output_type: OutputType
PWM Pin output type
speed: Speed
PWM Pin speed
pull: Pull
PWM Pin pull type
Auto Trait Implementations§
impl Freeze for PwmPinConfig
impl RefUnwindSafe for PwmPinConfig
impl Send for PwmPinConfig
impl Sync for PwmPinConfig
impl Unpin for PwmPinConfig
impl UnwindSafe for PwmPinConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more