Struct cameleon::u3v::register_map::DeviceConfiguration
source · pub struct DeviceConfiguration(_);
Expand description
Configuration of the device.
Implementations§
source§impl DeviceConfiguration
impl DeviceConfiguration
sourcepub fn is_multi_event_enabled(self) -> bool
pub fn is_multi_event_enabled(self) -> bool
Indicate multi event is enabled on the device.
sourcepub fn set_multi_event_enable_bit(&mut self)
pub fn set_multi_event_enable_bit(&mut self)
Sets multi event enable bit.
To reflect the configuration change, call Abrm::write_device_configuration
.
sourcepub fn disable_multi_event(&mut self)
pub fn disable_multi_event(&mut self)
Unsets bit multi event of the device.
To reflect the configuration change, call Abrm::write_device_configuration
.
Trait Implementations§
source§impl Clone for DeviceConfiguration
impl Clone for DeviceConfiguration
source§fn clone(&self) -> DeviceConfiguration
fn clone(&self) -> DeviceConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeviceConfiguration
impl Debug for DeviceConfiguration
impl Copy for DeviceConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for DeviceConfiguration
impl Send for DeviceConfiguration
impl Sync for DeviceConfiguration
impl Unpin for DeviceConfiguration
impl UnwindSafe for DeviceConfiguration
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