pub struct TWAR;
Expand description
TWI (Slave) Address register.
Trait Implementations§
source§impl Register for TWAR
impl Register for TWAR
§type RegisterBits = RegisterBits<Self>
type RegisterBits = RegisterBits<Self>
The type representing a set of bits that may be manipulated
within the register.
source§fn set(bits: RegisterBits<Self>)
fn set(bits: RegisterBits<Self>)
Sets a set of bits to
1
in the register.source§fn set_mask_raw(mask: Self::T)
fn set_mask_raw(mask: Self::T)
Sets a bitmask in a register. Read more
source§fn unset(bits: RegisterBits<Self>)
fn unset(bits: RegisterBits<Self>)
Unsets a set of bits in the register. Read more
source§fn unset_mask_raw(mask: Self::T)
fn unset_mask_raw(mask: Self::T)
Clears a bitmask from a register. Read more
source§fn toggle(mask: RegisterBits<Self>)
fn toggle(mask: RegisterBits<Self>)
Toggles a set of bits within the register. Read more
source§fn toggle_raw(mask: Self::T)
fn toggle_raw(mask: Self::T)
Toggles a mask in the register. Read more
source§fn is_set(bits: RegisterBits<Self>) -> bool
fn is_set(bits: RegisterBits<Self>) -> bool
Checks if a set of bits are enabled. Read more
source§fn is_mask_set_raw(mask: Self::T) -> bool
fn is_mask_set_raw(mask: Self::T) -> bool
Checks if a mask is set in the register. Read more
source§fn is_clear(mask: RegisterBits<Self>) -> bool
fn is_clear(mask: RegisterBits<Self>) -> bool
Checks if a set of bits are not set. Read more
source§fn is_clear_raw(mask: Self::T) -> bool
fn is_clear_raw(mask: Self::T) -> bool
Checks if a mask is clear in the register. Read more
source§fn wait_until_set(bits: RegisterBits<Self>)
fn wait_until_set(bits: RegisterBits<Self>)
Waits until a set of bits are set in the register. Read more
source§fn wait_until_mask_set_raw(mask: Self::T)
fn wait_until_mask_set_raw(mask: Self::T)
Waits until a bit mask is set in the register. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TWAR
impl Send for TWAR
impl Sync for TWAR
impl Unpin for TWAR
impl UnwindSafe for TWAR
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more