pub struct Input {
pub uninit_R: BitvectorArray<5, 8>,
pub uninit_SRAM: BitvectorArray<11, 8>,
pub PINB: Bitvector<8>,
pub PINC: Bitvector<7>,
pub PIND: Bitvector<8>,
}
Expand description
ATmega328P system input.
Fields§
§uninit_R: BitvectorArray<5, 8>
Uninitialized general-purpose working registers.
uninit_SRAM: BitvectorArray<11, 8>
Uninitialized SRAM.
PINB: Bitvector<8>
I/O address 0x3: pin read.
PINC: Bitvector<7>
I/O address 0x6: pin read.
Only low 7 bits are read, the high bit is always zero.
PIND: Bitvector<8>
I/O address 0x9: pin read.
Trait Implementations§
impl Eq for Input
impl Input for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.