#[repr(transparent)]pub struct Dacnf(pub u32);
Expand description
Device address match configuration.
Tuple Fields§
§0: u32
Implementations§
Source§impl Dacnf
impl Dacnf
Sourcepub const fn ena0(&self) -> bool
pub const fn ena0(&self) -> bool
Enable or disable device address matching using device address 0.
Sourcepub fn set_ena0(&mut self, val: bool)
pub fn set_ena0(&mut self, val: bool)
Enable or disable device address matching using device address 0.
Sourcepub const fn ena1(&self) -> bool
pub const fn ena1(&self) -> bool
Enable or disable device address matching using device address 1.
Sourcepub fn set_ena1(&mut self, val: bool)
pub fn set_ena1(&mut self, val: bool)
Enable or disable device address matching using device address 1.
Sourcepub const fn ena2(&self) -> bool
pub const fn ena2(&self) -> bool
Enable or disable device address matching using device address 2.
Sourcepub fn set_ena2(&mut self, val: bool)
pub fn set_ena2(&mut self, val: bool)
Enable or disable device address matching using device address 2.
Sourcepub const fn ena3(&self) -> bool
pub const fn ena3(&self) -> bool
Enable or disable device address matching using device address 3.
Sourcepub fn set_ena3(&mut self, val: bool)
pub fn set_ena3(&mut self, val: bool)
Enable or disable device address matching using device address 3.
Sourcepub const fn ena4(&self) -> bool
pub const fn ena4(&self) -> bool
Enable or disable device address matching using device address 4.
Sourcepub fn set_ena4(&mut self, val: bool)
pub fn set_ena4(&mut self, val: bool)
Enable or disable device address matching using device address 4.
Sourcepub const fn ena5(&self) -> bool
pub const fn ena5(&self) -> bool
Enable or disable device address matching using device address 5.
Sourcepub fn set_ena5(&mut self, val: bool)
pub fn set_ena5(&mut self, val: bool)
Enable or disable device address matching using device address 5.
Sourcepub const fn ena6(&self) -> bool
pub const fn ena6(&self) -> bool
Enable or disable device address matching using device address 6.
Sourcepub fn set_ena6(&mut self, val: bool)
pub fn set_ena6(&mut self, val: bool)
Enable or disable device address matching using device address 6.
Sourcepub const fn ena7(&self) -> bool
pub const fn ena7(&self) -> bool
Enable or disable device address matching using device address 7.
Sourcepub fn set_ena7(&mut self, val: bool)
pub fn set_ena7(&mut self, val: bool)
Enable or disable device address matching using device address 7.
Sourcepub fn set_txadd0(&mut self, val: bool)
pub fn set_txadd0(&mut self, val: bool)
TxAdd for device address 0.
Sourcepub fn set_txadd1(&mut self, val: bool)
pub fn set_txadd1(&mut self, val: bool)
TxAdd for device address 1.
Sourcepub fn set_txadd2(&mut self, val: bool)
pub fn set_txadd2(&mut self, val: bool)
TxAdd for device address 2.
Sourcepub fn set_txadd3(&mut self, val: bool)
pub fn set_txadd3(&mut self, val: bool)
TxAdd for device address 3.
Sourcepub fn set_txadd4(&mut self, val: bool)
pub fn set_txadd4(&mut self, val: bool)
TxAdd for device address 4.
Sourcepub fn set_txadd5(&mut self, val: bool)
pub fn set_txadd5(&mut self, val: bool)
TxAdd for device address 5.
Sourcepub fn set_txadd6(&mut self, val: bool)
pub fn set_txadd6(&mut self, val: bool)
TxAdd for device address 6.
Sourcepub fn set_txadd7(&mut self, val: bool)
pub fn set_txadd7(&mut self, val: bool)
TxAdd for device address 7.
Trait Implementations§
impl Copy for Dacnf
impl Eq for Dacnf
impl StructuralPartialEq for Dacnf
Auto Trait Implementations§
impl Freeze for Dacnf
impl RefUnwindSafe for Dacnf
impl Send for Dacnf
impl Sync for Dacnf
impl Unpin for Dacnf
impl UnwindSafe for Dacnf
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)