Struct stm32_metapac::dsihost::regs::Wisr
#[repr(transparent)]pub struct Wisr(pub u32);
Expand description
DSI Wrapper interrupt and status register.
Tuple Fields§
§0: u32
Implementations§
§impl Wisr
impl Wisr
pub const fn teif(&self) -> bool
pub const fn teif(&self) -> bool
Tearing effect interrupt flag This bit is set when a tearing effect event occurs.
pub fn set_teif(&mut self, val: bool)
pub fn set_teif(&mut self, val: bool)
Tearing effect interrupt flag This bit is set when a tearing effect event occurs.
pub const fn erif(&self) -> bool
pub const fn erif(&self) -> bool
End of refresh interrupt flag This bit is set when the transfer of a frame in adapted command mode is finished.
pub fn set_erif(&mut self, val: bool)
pub fn set_erif(&mut self, val: bool)
End of refresh interrupt flag This bit is set when the transfer of a frame in adapted command mode is finished.
pub const fn busy(&self) -> bool
pub const fn busy(&self) -> bool
Busy flag This bit is set when the transfer of a frame in adapted command mode is ongoing.
pub fn set_busy(&mut self, val: bool)
pub fn set_busy(&mut self, val: bool)
Busy flag This bit is set when the transfer of a frame in adapted command mode is ongoing.
pub const fn pllls(&self) -> bool
pub const fn pllls(&self) -> bool
PLL lock status This bit is set when the PLL is locked and cleared when it is unlocked.
pub fn set_pllls(&mut self, val: bool)
pub fn set_pllls(&mut self, val: bool)
PLL lock status This bit is set when the PLL is locked and cleared when it is unlocked.
pub const fn plllif(&self) -> bool
pub const fn plllif(&self) -> bool
PLL lock interrupt flag This bit is set when the PLL becomes locked.
pub fn set_plllif(&mut self, val: bool)
pub fn set_plllif(&mut self, val: bool)
PLL lock interrupt flag This bit is set when the PLL becomes locked.
pub const fn plluif(&self) -> bool
pub const fn plluif(&self) -> bool
PLL unlock interrupt flag This bit is set when the PLL becomes unlocked.
pub fn set_plluif(&mut self, val: bool)
pub fn set_plluif(&mut self, val: bool)
PLL unlock interrupt flag This bit is set when the PLL becomes unlocked.
Trait Implementations§
impl Copy for Wisr
impl Eq for Wisr
impl StructuralPartialEq for Wisr
Auto Trait Implementations§
impl Freeze for Wisr
impl RefUnwindSafe for Wisr
impl Send for Wisr
impl Sync for Wisr
impl Unpin for Wisr
impl UnwindSafe for Wisr
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
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)
clone_to_uninit
)