Struct stm32_metapac::fmac::regs::X1bufcfg
#[repr(transparent)]pub struct X1bufcfg(pub u32);
Expand description
X1 buffer configuration register
Tuple Fields§
§0: u32
Implementations§
§impl X1bufcfg
impl X1bufcfg
pub fn set_x1_base(&mut self, val: u8)
pub fn set_x1_base(&mut self, val: u8)
Base address of X1 buffer
pub const fn x1_buf_size(&self) -> u8
pub const fn x1_buf_size(&self) -> u8
Allocated size of X1 buffer in 16-bit words
pub fn set_x1_buf_size(&mut self, val: u8)
pub fn set_x1_buf_size(&mut self, val: u8)
Allocated size of X1 buffer in 16-bit words
pub fn set_full_wm(&mut self, val: u8)
pub fn set_full_wm(&mut self, val: u8)
Watermark for buffer full flag
Trait Implementations§
impl Copy for X1bufcfg
impl Eq for X1bufcfg
impl StructuralPartialEq for X1bufcfg
Auto Trait Implementations§
impl Freeze for X1bufcfg
impl RefUnwindSafe for X1bufcfg
impl Send for X1bufcfg
impl Sync for X1bufcfg
impl Unpin for X1bufcfg
impl UnwindSafe for X1bufcfg
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
)