stm32-metapac

Crates

git

Versions

stm32u5g9bj

Flavors

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

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)

Acknowledge error 0 This bit retrieves the SoT error from the acknowledge error report.

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)

Acknowledge error 1 This bit retrieves the SoT sync error from the acknowledge error report.

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)

Acknowledge error 2 This bit retrieves the EoT sync error from the acknowledge error report.

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)

Acknowledge error 3 This bit retrieves the escape mode entry command error from the acknowledge error report.

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)

Acknowledge error 4 This bit retrieves the LP transmit sync error from the acknowledge error report.

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)

Acknowledge error 5 This bit retrieves the peripheral timeout error from the acknowledge error report.

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)

Acknowledge error 6 This bit retrieves the false control error from the acknowledge error report.

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)

Acknowledge error 7 This bit retrieves the reserved (specific to the device) from the acknowledge error report.

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)

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

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)

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

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)

Acknowledge error 10 This bit retrieves the checksum error (long packet only) from the acknowledge error report.

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)

Acknowledge error 11 This bit retrieves the not recognized DSI data type from the acknowledge error report.

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)

Acknowledge error 12 This bit retrieves the DSI VC ID Invalid from the acknowledge error report.

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)

Acknowledge error 13 This bit retrieves the invalid transmission length from the acknowledge error report.

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)

Acknowledge error 14 This bit retrieves the reserved (specific to the device) from the acknowledge error report.

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)

Acknowledge error 15 This bit retrieves the DSI protocol violation from the acknowledge error report.

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)

PHY error 0 This bit indicates the ErrEsc escape entry error from lane 0.

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)

PHY error 1 This bit indicates the ErrSyncEsc low-power transmission synchronization error from lane 0.

pub const fn pe2(&self) -> bool

PHY error 2 This bit indicates the ErrControl error from lane 0.

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

PHY error 3 This bit indicates the LP0 contention error ErrContentionLP0 from lane 0.

pub fn set_pe3(&mut self, val: bool)

PHY error 3 This bit indicates the LP0 contention error ErrContentionLP0 from lane 0.

pub const fn pe4(&self) -> bool

PHY error 4 This bit indicates the LP1 contention error ErrContentionLP1 from lane 0.

pub fn set_pe4(&mut self, val: bool)

PHY error 4 This bit indicates the LP1 contention error ErrContentionLP1 from lane 0.

Trait Implementations§

§

impl Clone for Isr0

§

fn clone(&self) -> Isr0

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for Isr0

§

fn default() -> Isr0

Returns the “default value” for a type. Read more
§

impl PartialEq for Isr0

§

fn eq(&self, other: &Isr0) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Isr0

§

impl Eq for Isr0

§

impl StructuralPartialEq for Isr0

Auto Trait Implementations§

§

impl Freeze for Isr0

§

impl RefUnwindSafe for Isr0

§

impl Send for Isr0

§

impl Sync for Isr0

§

impl Unpin for Isr0

§

impl UnwindSafe for Isr0

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.