[−][src]Struct wio_terminal::ButtonPins
pushbuttons and joystick
Fields
button1 pin
button2 pin
button3 pin
switch_x: Pd8<Input<Floating>>
Joystick X
switch_y: Pd9<Input<Floating>>
Joystick Y
switch_z: Pd10<Input<Floating>>
Joystick Z
switch_u: Pd20<Input<Floating>>
Joystick U
switch_b: Pd12<Input<Floating>>
Joystick B
Implementations
impl ButtonPins
[src]
pub fn init(
self,
eic: EIC,
clocks: &mut GenericClockController,
mclk: &mut MCLK,
port: &mut Port
) -> ButtonController
[src]
self,
eic: EIC,
clocks: &mut GenericClockController,
mclk: &mut MCLK,
port: &mut Port
) -> ButtonController
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,