Struct X2bufcfg
#[repr(transparent)]pub struct X2bufcfg(pub u32);
Expand description
X2 buffer configuration register
Tuple Fields§
§0: u32
Implementations§
§impl X2bufcfg
impl X2bufcfg
pub fn set_x2_base(&mut self, val: u8)
pub fn set_x2_base(&mut self, val: u8)
Base address of X2 buffer
pub const fn x2_buf_size(&self) -> u8
pub const fn x2_buf_size(&self) -> u8
Size of X2 buffer in 16-bit words
pub fn set_x2_buf_size(&mut self, val: u8)
pub fn set_x2_buf_size(&mut self, val: u8)
Size of X2 buffer in 16-bit words
Trait Implementations§
impl Copy for X2bufcfg
impl Eq for X2bufcfg
impl StructuralPartialEq for X2bufcfg
Auto Trait Implementations§
impl Freeze for X2bufcfg
impl RefUnwindSafe for X2bufcfg
impl Send for X2bufcfg
impl Sync for X2bufcfg
impl Unpin for X2bufcfg
impl UnwindSafe for X2bufcfg
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
)