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: OutputTypePWM Pin output type
speed: SpeedPWM Pin speed
pull: PullPWM 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