pub struct Config<'a, S: TimerSpeed> {
    pub timer: &'a dyn TimerIFace<S>,
    pub duty_pct: u8,
    pub drive_mode: DriveMode,
}Expand description
Channel configuration
Fields§
§timer: &'a dyn TimerIFace<S>A reference to the timer associated with this channel.
duty_pct: u8The duty cycle percentage (0-100).
drive_mode: DriveModeThe pin configuration (PushPull or OpenDrain).
Trait Implementations§
Source§impl<'a, S: Clone + TimerSpeed> Clone for Config<'a, S>
Available on crate feature unstable only. 
impl<'a, S: Clone + TimerSpeed> Clone for Config<'a, S>
Available on crate feature 
unstable only.impl<'a, S: Copy + TimerSpeed> Copy for Config<'a, S>
Available on crate feature 
unstable only.Auto Trait Implementations§
impl<'a, S> Freeze for Config<'a, S>
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§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
 
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)