#[repr(u8)]pub enum DeviceAddress {
Primary = 118,
Secondary = 119,
}Expand description
Use Primary if SDO connector of the sensor is connected to ground and Secondary if SDO is connected to Vin.
Variants§
Trait Implementations§
Source§impl Default for DeviceAddress
impl Default for DeviceAddress
Source§impl From<DeviceAddress> for u8
impl From<DeviceAddress> for u8
Source§fn from(value: DeviceAddress) -> Self
fn from(value: DeviceAddress) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceAddress
impl RefUnwindSafe for DeviceAddress
impl Send for DeviceAddress
impl Sync for DeviceAddress
impl Unpin for DeviceAddress
impl UnwindSafe for DeviceAddress
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