#[repr(transparent)]pub struct UdfCtrl(pub u32);Expand description
Control register
Tuple Fields§
§0: u32Implementations§
Source§impl UdfCtrl
impl UdfCtrl
Sourcepub const fn reserved21(&self) -> u8
pub const fn reserved21(&self) -> u8
RFU
Sourcepub const fn set_reserved21(&mut self, val: u8)
pub const fn set_reserved21(&mut self, val: u8)
RFU
Sourcepub const fn set_udf_en(&mut self, val: u8)
pub const fn set_udf_en(&mut self, val: u8)
Enable the UDF block
Sourcepub const fn reserved25(&self) -> bool
pub const fn reserved25(&self) -> bool
RFU
Sourcepub const fn set_reserved25(&mut self, val: bool)
pub const fn set_reserved25(&mut self, val: bool)
RFU
Sourcepub const fn reserved27(&self) -> u8
pub const fn reserved27(&self) -> u8
RFU
Sourcepub const fn set_reserved27(&mut self, val: u8)
pub const fn set_reserved27(&mut self, val: u8)
RFU
Sourcepub const fn reserved31(&self) -> bool
pub const fn reserved31(&self) -> bool
reserved
Sourcepub const fn set_reserved31(&mut self, val: bool)
pub const fn set_reserved31(&mut self, val: bool)
reserved
Trait Implementations§
impl Copy for UdfCtrl
impl Eq for UdfCtrl
impl StructuralPartialEq for UdfCtrl
Auto Trait Implementations§
impl Freeze for UdfCtrl
impl RefUnwindSafe for UdfCtrl
impl Send for UdfCtrl
impl Sync for UdfCtrl
impl Unpin for UdfCtrl
impl UnwindSafe for UdfCtrl
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