pub struct Pcnt<'d> {
pub unit0: Unit<'d, 0>,
pub unit1: Unit<'d, 1>,
pub unit2: Unit<'d, 2>,
pub unit3: Unit<'d, 3>,
/* private fields */
}Expand description
Pulse Counter (PCNT) peripheral driver.
Fields§
§unit0: Unit<'d, 0>Unit 0
unit1: Unit<'d, 1>Unit 1
unit2: Unit<'d, 2>Unit 2
unit3: Unit<'d, 3>Unit 3
Implementations§
Trait Implementations§
Source§impl InterruptConfigurable for Pcnt<'_>
impl InterruptConfigurable for Pcnt<'_>
Source§fn set_interrupt_handler(&mut self, handler: InterruptHandler)
fn set_interrupt_handler(&mut self, handler: InterruptHandler)
Set the interrupt handler Read more
Auto Trait Implementations§
impl<'d> Freeze for Pcnt<'d>
impl<'d> RefUnwindSafe for Pcnt<'d>
impl<'d> Send for Pcnt<'d>
impl<'d> !Sync for Pcnt<'d>
impl<'d> Unpin for Pcnt<'d>
impl<'d> !UnwindSafe for Pcnt<'d>
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