Struct pygamer::buttons::ButtonReader
source ·
[−]pub struct ButtonReader {
pub latch: Pb0<Output<PushPull>>,
pub data_in: Pb30<Input<Floating>>,
pub clock: Pb31<Output<PushPull>>,
pub last: u8,
}
Expand description
Button pins
Fields
latch: Pb0<Output<PushPull>>
Button Latch
data_in: Pb30<Input<Floating>>
Button Out
clock: Pb31<Output<PushPull>>
Button Clock
last: u8
Implementations
pub fn events(&mut self) -> ButtonIterⓘNotable traits for ButtonIterimpl Iterator for ButtonIter type Item = Keys;
pub fn events(&mut self) -> ButtonIterⓘNotable traits for ButtonIterimpl Iterator for ButtonIter type Item = Keys;
Notable traits for ButtonIter
impl Iterator for ButtonIter type Item = Keys;
Returns a ButtonIter of button changes as Keys enums
Auto Trait Implementations
impl RefUnwindSafe for ButtonReader
impl Send for ButtonReader
impl Sync for ButtonReader
impl Unpin for ButtonReader
impl UnwindSafe for ButtonReader
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.