pub enum BusAddr8080 {
BusAddr8(u8),
BusAddr16BE(u16),
BusAddr16LE(u16),
}
Expand description
The enum represents the address of a bus-attached device.
For addresses larger than a single byte the enum variant captures the endianess used by the device on the bus. The address is stored in the host endianess in the u16 and must be converted to the correct endianess before using the address on the bus.
Variants§
Auto Trait Implementations§
impl Freeze for BusAddr8080
impl RefUnwindSafe for BusAddr8080
impl Send for BusAddr8080
impl Sync for BusAddr8080
impl Unpin for BusAddr8080
impl UnwindSafe for BusAddr8080
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