Struct stm32_metapac::dsihost::regs::Psr
#[repr(transparent)]pub struct Psr(pub u32);
Expand description
DSI Host PHY status register.
Tuple Fields§
§0: u32
Implementations§
§impl Psr
impl Psr
pub const fn pd(&self) -> bool
pub const fn pd(&self) -> bool
PHY direction This bit indicates the status of phydirection D-PHY signal.
pub fn set_pd(&mut self, val: bool)
pub fn set_pd(&mut self, val: bool)
PHY direction This bit indicates the status of phydirection D-PHY signal.
pub const fn pssc(&self) -> bool
pub const fn pssc(&self) -> bool
PHY stop state clock lane This bit indicates the status of phystopstateclklane D-PHY signal.
pub fn set_pssc(&mut self, val: bool)
pub fn set_pssc(&mut self, val: bool)
PHY stop state clock lane This bit indicates the status of phystopstateclklane D-PHY signal.
pub const fn uanc(&self) -> bool
pub const fn uanc(&self) -> bool
ULPS active not clock lane This bit indicates the status of ulpsactivenotclklane D-PHY signal.
pub fn set_uanc(&mut self, val: bool)
pub fn set_uanc(&mut self, val: bool)
ULPS active not clock lane This bit indicates the status of ulpsactivenotclklane D-PHY signal.
pub const fn pss0(&self) -> bool
pub const fn pss0(&self) -> bool
PHY stop state lane 0 This bit indicates the status of phystopstate0lane D-PHY signal.
pub fn set_pss0(&mut self, val: bool)
pub fn set_pss0(&mut self, val: bool)
PHY stop state lane 0 This bit indicates the status of phystopstate0lane D-PHY signal.
pub const fn uan0(&self) -> bool
pub const fn uan0(&self) -> bool
ULPS active not lane 1 This bit indicates the status of ulpsactivenot0lane D-PHY signal.
pub fn set_uan0(&mut self, val: bool)
pub fn set_uan0(&mut self, val: bool)
ULPS active not lane 1 This bit indicates the status of ulpsactivenot0lane D-PHY signal.
pub const fn rue0(&self) -> bool
pub const fn rue0(&self) -> bool
RX ULPS escape lane 0 This bit indicates the status of rxulpsesc0lane D-PHY signal.
pub fn set_rue0(&mut self, val: bool)
pub fn set_rue0(&mut self, val: bool)
RX ULPS escape lane 0 This bit indicates the status of rxulpsesc0lane D-PHY signal.
pub const fn pss1(&self) -> bool
pub const fn pss1(&self) -> bool
PHY stop state lane 1 This bit indicates the status of phystopstate1lane D-PHY signal.
pub fn set_pss1(&mut self, val: bool)
pub fn set_pss1(&mut self, val: bool)
PHY stop state lane 1 This bit indicates the status of phystopstate1lane D-PHY signal.
Trait Implementations§
impl Copy for Psr
impl Eq for Psr
impl StructuralPartialEq for Psr
Auto Trait Implementations§
impl Freeze for Psr
impl RefUnwindSafe for Psr
impl Send for Psr
impl Sync for Psr
impl Unpin for Psr
impl UnwindSafe for Psr
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
)