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
Trait Implementations§
Source§impl Clone for PwmPinConfig
impl Clone for PwmPinConfig
Source§fn clone(&self) -> PwmPinConfig
fn clone(&self) -> PwmPinConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PwmPinConfig
impl Debug for PwmPinConfig
Source§impl Format for PwmPinConfig
impl Format for PwmPinConfig
impl Copy for PwmPinConfig
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