Struct stm32_metapac::dsihost::regs::Isr0
#[repr(transparent)]pub struct Isr0(pub u32);
Expand description
DSI Host interrupt and status register 0.
Tuple Fields§
§0: u32
Implementations§
§impl Isr0
impl Isr0
pub const fn ae0(&self) -> bool
pub const fn ae0(&self) -> bool
Acknowledge error 0 This bit retrieves the SoT error from the acknowledge error report.
pub fn set_ae0(&mut self, val: bool)
pub fn set_ae0(&mut self, val: bool)
Acknowledge error 0 This bit retrieves the SoT error from the acknowledge error report.
pub const fn ae1(&self) -> bool
pub const fn ae1(&self) -> bool
Acknowledge error 1 This bit retrieves the SoT sync error from the acknowledge error report.
pub fn set_ae1(&mut self, val: bool)
pub fn set_ae1(&mut self, val: bool)
Acknowledge error 1 This bit retrieves the SoT sync error from the acknowledge error report.
pub const fn ae2(&self) -> bool
pub const fn ae2(&self) -> bool
Acknowledge error 2 This bit retrieves the EoT sync error from the acknowledge error report.
pub fn set_ae2(&mut self, val: bool)
pub fn set_ae2(&mut self, val: bool)
Acknowledge error 2 This bit retrieves the EoT sync error from the acknowledge error report.
pub const fn ae3(&self) -> bool
pub const fn ae3(&self) -> bool
Acknowledge error 3 This bit retrieves the escape mode entry command error from the acknowledge error report.
pub fn set_ae3(&mut self, val: bool)
pub fn set_ae3(&mut self, val: bool)
Acknowledge error 3 This bit retrieves the escape mode entry command error from the acknowledge error report.
pub const fn ae4(&self) -> bool
pub const fn ae4(&self) -> bool
Acknowledge error 4 This bit retrieves the LP transmit sync error from the acknowledge error report.
pub fn set_ae4(&mut self, val: bool)
pub fn set_ae4(&mut self, val: bool)
Acknowledge error 4 This bit retrieves the LP transmit sync error from the acknowledge error report.
pub const fn ae5(&self) -> bool
pub const fn ae5(&self) -> bool
Acknowledge error 5 This bit retrieves the peripheral timeout error from the acknowledge error report.
pub fn set_ae5(&mut self, val: bool)
pub fn set_ae5(&mut self, val: bool)
Acknowledge error 5 This bit retrieves the peripheral timeout error from the acknowledge error report.
pub const fn ae6(&self) -> bool
pub const fn ae6(&self) -> bool
Acknowledge error 6 This bit retrieves the false control error from the acknowledge error report.
pub fn set_ae6(&mut self, val: bool)
pub fn set_ae6(&mut self, val: bool)
Acknowledge error 6 This bit retrieves the false control error from the acknowledge error report.
pub const fn ae7(&self) -> bool
pub const fn ae7(&self) -> bool
Acknowledge error 7 This bit retrieves the reserved (specific to the device) from the acknowledge error report.
pub fn set_ae7(&mut self, val: bool)
pub fn set_ae7(&mut self, val: bool)
Acknowledge error 7 This bit retrieves the reserved (specific to the device) from the acknowledge error report.
pub const fn ae8(&self) -> bool
pub const fn ae8(&self) -> bool
Acknowledge error 8 This bit retrieves the ECC error, single-bit (detected and corrected) from the acknowledge error report.
pub fn set_ae8(&mut self, val: bool)
pub fn set_ae8(&mut self, val: bool)
Acknowledge error 8 This bit retrieves the ECC error, single-bit (detected and corrected) from the acknowledge error report.
pub const fn ae9(&self) -> bool
pub const fn ae9(&self) -> bool
Acknowledge error 9 This bit retrieves the ECC error, multi-bit (detected, not corrected) from the acknowledge error report.
pub fn set_ae9(&mut self, val: bool)
pub fn set_ae9(&mut self, val: bool)
Acknowledge error 9 This bit retrieves the ECC error, multi-bit (detected, not corrected) from the acknowledge error report.
pub const fn ae10(&self) -> bool
pub const fn ae10(&self) -> bool
Acknowledge error 10 This bit retrieves the checksum error (long packet only) from the acknowledge error report.
pub fn set_ae10(&mut self, val: bool)
pub fn set_ae10(&mut self, val: bool)
Acknowledge error 10 This bit retrieves the checksum error (long packet only) from the acknowledge error report.
pub const fn ae11(&self) -> bool
pub const fn ae11(&self) -> bool
Acknowledge error 11 This bit retrieves the not recognized DSI data type from the acknowledge error report.
pub fn set_ae11(&mut self, val: bool)
pub fn set_ae11(&mut self, val: bool)
Acknowledge error 11 This bit retrieves the not recognized DSI data type from the acknowledge error report.
pub const fn ae12(&self) -> bool
pub const fn ae12(&self) -> bool
Acknowledge error 12 This bit retrieves the DSI VC ID Invalid from the acknowledge error report.
pub fn set_ae12(&mut self, val: bool)
pub fn set_ae12(&mut self, val: bool)
Acknowledge error 12 This bit retrieves the DSI VC ID Invalid from the acknowledge error report.
pub const fn ae13(&self) -> bool
pub const fn ae13(&self) -> bool
Acknowledge error 13 This bit retrieves the invalid transmission length from the acknowledge error report.
pub fn set_ae13(&mut self, val: bool)
pub fn set_ae13(&mut self, val: bool)
Acknowledge error 13 This bit retrieves the invalid transmission length from the acknowledge error report.
pub const fn ae14(&self) -> bool
pub const fn ae14(&self) -> bool
Acknowledge error 14 This bit retrieves the reserved (specific to the device) from the acknowledge error report.
pub fn set_ae14(&mut self, val: bool)
pub fn set_ae14(&mut self, val: bool)
Acknowledge error 14 This bit retrieves the reserved (specific to the device) from the acknowledge error report.
pub const fn ae15(&self) -> bool
pub const fn ae15(&self) -> bool
Acknowledge error 15 This bit retrieves the DSI protocol violation from the acknowledge error report.
pub fn set_ae15(&mut self, val: bool)
pub fn set_ae15(&mut self, val: bool)
Acknowledge error 15 This bit retrieves the DSI protocol violation from the acknowledge error report.
pub const fn pe0(&self) -> bool
pub const fn pe0(&self) -> bool
PHY error 0 This bit indicates the ErrEsc escape entry error from lane 0.
pub fn set_pe0(&mut self, val: bool)
pub fn set_pe0(&mut self, val: bool)
PHY error 0 This bit indicates the ErrEsc escape entry error from lane 0.
pub const fn pe1(&self) -> bool
pub const fn pe1(&self) -> bool
PHY error 1 This bit indicates the ErrSyncEsc low-power transmission synchronization error from lane 0.
pub fn set_pe1(&mut self, val: bool)
pub fn set_pe1(&mut self, val: bool)
PHY error 1 This bit indicates the ErrSyncEsc low-power transmission synchronization error from lane 0.
pub fn set_pe2(&mut self, val: bool)
pub fn set_pe2(&mut self, val: bool)
PHY error 2 This bit indicates the ErrControl error from lane 0.
pub const fn pe3(&self) -> bool
pub const fn pe3(&self) -> bool
PHY error 3 This bit indicates the LP0 contention error ErrContentionLP0 from lane 0.
pub fn set_pe3(&mut self, val: bool)
pub fn set_pe3(&mut self, val: bool)
PHY error 3 This bit indicates the LP0 contention error ErrContentionLP0 from lane 0.