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.