#[repr(transparent)]pub struct StatClr(pub u32);Expand description
DCP status register
Tuple Fields§
§0: u32Implementations§
Source§impl StatClr
impl StatClr
Sourcepub const fn set_irq(&mut self, val: u8)
pub const fn set_irq(&mut self, val: u8)
Indicates which channels have pending interrupt requests
Sourcepub const fn ready_channels(&self) -> StatClrReadyChannels
pub const fn ready_channels(&self) -> StatClrReadyChannels
Indicates which channels are ready to proceed with a transfer (the active channel is also included)
Sourcepub const fn set_ready_channels(&mut self, val: StatClrReadyChannels)
pub const fn set_ready_channels(&mut self, val: StatClrReadyChannels)
Indicates which channels are ready to proceed with a transfer (the active channel is also included)
Sourcepub const fn cur_channel(&self) -> StatClrCurChannel
pub const fn cur_channel(&self) -> StatClrCurChannel
Current (active) channel (encoded)
Sourcepub const fn set_cur_channel(&mut self, val: StatClrCurChannel)
pub const fn set_cur_channel(&mut self, val: StatClrCurChannel)
Current (active) channel (encoded)
Sourcepub const fn otp_key_ready(&self) -> bool
pub const fn otp_key_ready(&self) -> bool
When set, it indicates that the OTP key is shifted from the fuse block and is ready for use.
Sourcepub const fn set_otp_key_ready(&mut self, val: bool)
pub const fn set_otp_key_ready(&mut self, val: bool)
When set, it indicates that the OTP key is shifted from the fuse block and is ready for use.
Trait Implementations§
impl Copy for StatClr
impl Eq for StatClr
impl StructuralPartialEq for StatClr
Auto Trait Implementations§
impl Freeze for StatClr
impl RefUnwindSafe for StatClr
impl Send for StatClr
impl Sync for StatClr
impl Unpin for StatClr
impl UnwindSafe for StatClr
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