#[repr(transparent)]pub struct Endianness(pub u32);
Expand description
This register defines the endianness of the Host-accessible registers, and can only be written once.
Tuple Fields§
§0: u32
Implementations§
Source§impl Endianness
impl Endianness
Sourcepub const fn dout_wr_bg(&self) -> DoutWrBg
pub const fn dout_wr_bg(&self) -> DoutWrBg
DOUT write endianness.
Sourcepub fn set_dout_wr_bg(&mut self, val: DoutWrBg)
pub fn set_dout_wr_bg(&mut self, val: DoutWrBg)
DOUT write endianness.
Sourcepub fn set_din_rd_bg(&mut self, val: DinRdBg)
pub fn set_din_rd_bg(&mut self, val: DinRdBg)
DIN read endianness.
Sourcepub const fn dout_wr_wbg(&self) -> DoutWrWbg
pub const fn dout_wr_wbg(&self) -> DoutWrWbg
DOUT write word endianness.
Sourcepub fn set_dout_wr_wbg(&mut self, val: DoutWrWbg)
pub fn set_dout_wr_wbg(&mut self, val: DoutWrWbg)
DOUT write word endianness.
Sourcepub const fn din_rd_wbg(&self) -> DinRdWbg
pub const fn din_rd_wbg(&self) -> DinRdWbg
DIN read word endianness.
Sourcepub fn set_din_rd_wbg(&mut self, val: DinRdWbg)
pub fn set_din_rd_wbg(&mut self, val: DinRdWbg)
DIN read word endianness.
Trait Implementations§
Source§impl Clone for Endianness
impl Clone for Endianness
Source§fn clone(&self) -> Endianness
fn clone(&self) -> Endianness
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 Default for Endianness
impl Default for Endianness
Source§fn default() -> Endianness
fn default() -> Endianness
Returns the “default value” for a type. Read more
Source§impl PartialEq for Endianness
impl PartialEq for Endianness
impl Copy for Endianness
impl Eq for Endianness
impl StructuralPartialEq for Endianness
Auto Trait Implementations§
impl Freeze for Endianness
impl RefUnwindSafe for Endianness
impl Send for Endianness
impl Sync for Endianness
impl Unpin for Endianness
impl UnwindSafe for Endianness
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
)