pub struct Config<CS> {
pub duty: Duty,
pub clock_source: CS,
pub frequency: Rate<u32, 1, 1>,
}
Expand description
Timer configuration
Fields§
§duty: Duty
§clock_source: CS
§frequency: Rate<u32, 1, 1>
Trait Implementations§
impl<CS> Copy for Config<CS>where CS: Copy,
Auto Trait Implementations§
impl<CS> RefUnwindSafe for Config<CS>where CS: RefUnwindSafe,
impl<CS> Send for Config<CS>where CS: Send,
impl<CS> Sync for Config<CS>where CS: Sync,
impl<CS> Unpin for Config<CS>where CS: Unpin,
impl<CS> UnwindSafe for Config<CS>where CS: UnwindSafe,
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