pub struct W(_);
Expand description
Register YBUFCFG
writer
Implementations
sourceimpl W
impl W
sourcepub fn empty_wm(
&mut self
) -> FieldWriterRaw<'_, u32, YBUFCFG_SPEC, u8, u8, Unsafe, 2, 24>
pub fn empty_wm(
&mut self
) -> FieldWriterRaw<'_, u32, YBUFCFG_SPEC, u8, u8, Unsafe, 2, 24>
Bits 24:25 - Watermark for buffer empty flag
sourcepub fn y_buf_size(
&mut self
) -> FieldWriterRaw<'_, u32, YBUFCFG_SPEC, u8, u8, Unsafe, 8, 8>
pub fn y_buf_size(
&mut self
) -> FieldWriterRaw<'_, u32, YBUFCFG_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - Size of Y buffer in 16-bit words
Methods from Deref<Target = W<YBUFCFG_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
sourceimpl From<W<YBUFCFG_SPEC>> for W
impl From<W<YBUFCFG_SPEC>> for W
sourcefn from(writer: W<YBUFCFG_SPEC>) -> W
fn from(writer: W<YBUFCFG_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more