pub struct Ace128<GpioPin> { /* private fields */ }Expand description
Holds the GPIO pins in use by the encoder.
Implementations§
Source§impl<GpioPin: InputPin> Ace128<GpioPin>
impl<GpioPin: InputPin> Ace128<GpioPin>
Sourcepub fn new(
p1: GpioPin,
p2: GpioPin,
p3: GpioPin,
p4: GpioPin,
p5: GpioPin,
p6: GpioPin,
p7: GpioPin,
p8: GpioPin,
) -> Self
pub fn new( p1: GpioPin, p2: GpioPin, p3: GpioPin, p4: GpioPin, p5: GpioPin, p6: GpioPin, p7: GpioPin, p8: GpioPin, ) -> Self
Creates a new instance of the encoder driver attached to the eight supplied GpioPin pins.
Auto Trait Implementations§
impl<GpioPin> Freeze for Ace128<GpioPin>where
GpioPin: Freeze,
impl<GpioPin> RefUnwindSafe for Ace128<GpioPin>where
GpioPin: RefUnwindSafe,
impl<GpioPin> Send for Ace128<GpioPin>where
GpioPin: Send,
impl<GpioPin> Sync for Ace128<GpioPin>where
GpioPin: Sync,
impl<GpioPin> Unpin for Ace128<GpioPin>where
GpioPin: Unpin,
impl<GpioPin> UnwindSafe for Ace128<GpioPin>where
GpioPin: 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