pub struct Config<'a, S>where
S: TimerSpeed,{
pub timer: &'a dyn TimerIFace<S>,
pub duty_pct: u8,
pub pin_config: PinConfig,
}
Expand description
Channel configuration
Fields§
§timer: &'a dyn TimerIFace<S>
§duty_pct: u8
§pin_config: PinConfig
Trait Implementations§
impl<'a, S> Copy for Config<'a, S>where S: Copy + TimerSpeed,
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for Config<'a, S>
impl<'a, S> !Send for Config<'a, S>
impl<'a, S> !Sync for Config<'a, S>
impl<'a, S> Unpin for Config<'a, S>
impl<'a, S> !UnwindSafe for Config<'a, S>
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