Struct Hwcfgr
#[repr(transparent)]pub struct Hwcfgr(pub u32);Expand description
hardware configuration register
Tuple Fields§
§0: u32Implementations§
§impl Hwcfgr
impl Hwcfgr
pub const fn set_fifosize(&mut self, val: u8)
pub const fn set_fifosize(&mut self, val: u8)
FIFO size in words
pub const fn set_fifoptr(&mut self, val: u8)
pub const fn set_fifoptr(&mut self, val: u8)
FIFO pointer size in bits
pub const fn set_prescval(&mut self, val: u8)
pub const fn set_prescval(&mut self, val: u8)
Prescaler reset value
pub const fn set_idlength(&mut self, val: u8)
pub const fn set_idlength(&mut self, val: u8)
Length of the AXI IDs
Trait Implementations§
impl Copy for Hwcfgr
impl Eq for Hwcfgr
impl StructuralPartialEq for Hwcfgr
Auto Trait Implementations§
impl Freeze for Hwcfgr
impl RefUnwindSafe for Hwcfgr
impl Send for Hwcfgr
impl Sync for Hwcfgr
impl Unpin for Hwcfgr
impl UnsafeUnpin for Hwcfgr
impl UnwindSafe for Hwcfgr
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