pub struct Csts(/* private fields */);
Implementations§
Source§impl Csts
impl Csts
Sourcepub const fn with_rdy_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_rdy_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_cfs_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cfs_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_shst_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_shst_checked(self, value: u8) -> Result<Self, ()>
Bits: 2..4
Sourcepub const fn with_nssro_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_nssro_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_nssro(self, value: bool) -> Self
pub const fn with_nssro(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn with_pp_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pp_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_st_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_st_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_reserved_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u32) -> Result<Self, ()>
Bits: 7..32
Sourcepub const fn with_reserved(self, value: u32) -> Self
pub const fn with_reserved(self, value: u32) -> Self
Bits: 7..32
Sourcepub const fn set_reserved(&mut self, value: u32)
pub const fn set_reserved(&mut self, value: u32)
Bits: 7..32
Trait Implementations§
impl Copy for Csts
Auto Trait Implementations§
impl Freeze for Csts
impl RefUnwindSafe for Csts
impl Send for Csts
impl Sync for Csts
impl Unpin for Csts
impl UnwindSafe for Csts
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