Struct stm32_metapac::fmac::regs::Ybufcfg
#[repr(transparent)]pub struct Ybufcfg(pub u32);
Expand description
Y buffer configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Ybufcfg
impl Ybufcfg
pub fn set_y_base(&mut self, val: u8)
pub fn set_y_base(&mut self, val: u8)
Base address of Y buffer
pub const fn y_buf_size(&self) -> u8
pub const fn y_buf_size(&self) -> u8
Size of Y buffer in 16-bit words
pub fn set_y_buf_size(&mut self, val: u8)
pub fn set_y_buf_size(&mut self, val: u8)
Size of Y buffer in 16-bit words
pub fn set_empty_wm(&mut self, val: u8)
pub fn set_empty_wm(&mut self, val: u8)
Watermark for buffer empty flag
Trait Implementations§
impl Copy for Ybufcfg
impl Eq for Ybufcfg
impl StructuralPartialEq for Ybufcfg
Auto Trait Implementations§
impl Freeze for Ybufcfg
impl RefUnwindSafe for Ybufcfg
impl Send for Ybufcfg
impl Sync for Ybufcfg
impl Unpin for Ybufcfg
impl UnwindSafe for Ybufcfg
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
)