#[repr(transparent)]pub struct Bit(pub u32);
Expand description
Data control register for output bit 7
Tuple Fields§
§0: u32
Implementations§
source§impl Bit
impl Bit
sourcepub const fn sel_p(&self) -> u8
pub const fn sel_p(&self) -> u8
Shift register data bit select for the first half of the HSTX clock cycle
sourcepub fn set_sel_p(&mut self, val: u8)
pub fn set_sel_p(&mut self, val: u8)
Shift register data bit select for the first half of the HSTX clock cycle
sourcepub const fn sel_n(&self) -> u8
pub const fn sel_n(&self) -> u8
Shift register data bit select for the second half of the HSTX clock cycle
sourcepub fn set_sel_n(&mut self, val: u8)
pub fn set_sel_n(&mut self, val: u8)
Shift register data bit select for the second half of the HSTX clock cycle
Trait Implementations§
impl Copy for Bit
impl Eq for Bit
impl StructuralPartialEq for Bit
Auto Trait Implementations§
impl Freeze for Bit
impl RefUnwindSafe for Bit
impl Send for Bit
impl Sync for Bit
impl Unpin for Bit
impl UnwindSafe for Bit
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)