stm32-metapac

Crates

git

Versions

stm32u5f9bj

Flavors

Struct stm32_metapac::dsihost::regs::Isr1

#[repr(transparent)]
pub struct Isr1(pub u32);
Expand description

DSI Host interrupt and status register 1.

Tuple Fields§

§0: u32

Implementations§

§

impl Isr1

pub const fn tohstx(&self) -> bool

Timeout high-speed transmission This bit indicates that the high-speed transmission timeout counter reached the end and contention is detected.

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

Timeout high-speed transmission This bit indicates that the high-speed transmission timeout counter reached the end and contention is detected.

pub const fn tolprx(&self) -> bool

Timeout low-power reception This bit indicates that the low-power reception timeout counter reached the end and contention is detected.

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

Timeout low-power reception This bit indicates that the low-power reception timeout counter reached the end and contention is detected.

pub const fn eccse(&self) -> bool

ECC single-bit error This bit indicates that the ECC single error is detected and corrected in a received packet.

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

ECC single-bit error This bit indicates that the ECC single error is detected and corrected in a received packet.

pub const fn eccme(&self) -> bool

ECC multi-bit error This bit indicates that the ECC multiple error is detected in a received packet.

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

ECC multi-bit error This bit indicates that the ECC multiple error is detected in a received packet.

pub const fn crce(&self) -> bool

CRC error This bit indicates that the CRC error is detected in the received packet payload.

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

CRC error This bit indicates that the CRC error is detected in the received packet payload.

pub const fn pse(&self) -> bool

Packet size error This bit indicates that the packet size error is detected during the packet reception.

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

Packet size error This bit indicates that the packet size error is detected during the packet reception.

pub const fn eotpe(&self) -> bool

EoTp error This bit indicates that the EoTp packet is not received at the end of the incoming peripheral transmission.

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

EoTp error This bit indicates that the EoTp packet is not received at the end of the incoming peripheral transmission.

pub const fn lpwre(&self) -> bool

LTDC payload write error This bit indicates that during a DPI pixel line storage, the payload FIFO becomes full and the data stored is corrupted.

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

LTDC payload write error This bit indicates that during a DPI pixel line storage, the payload FIFO becomes full and the data stored is corrupted.

pub const fn gcwre(&self) -> bool

Generic command write error This bit indicates that the system tried to write a command through the generic interface and the FIFO is full. Therefore, the command is not written.

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

Generic command write error This bit indicates that the system tried to write a command through the generic interface and the FIFO is full. Therefore, the command is not written.

pub const fn gpwre(&self) -> bool

Generic payload write error This bit indicates that the system tried to write a payload data through the generic interface and the FIFO is full. Therefore, the payload is not written.

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

Generic payload write error This bit indicates that the system tried to write a payload data through the generic interface and the FIFO is full. Therefore, the payload is not written.

pub const fn gptxe(&self) -> bool

Generic payload transmit error This bit indicates that during a generic interface packet build, the payload FIFO becomes empty and corrupt data is sent.

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

Generic payload transmit error This bit indicates that during a generic interface packet build, the payload FIFO becomes empty and corrupt data is sent.

pub const fn gprde(&self) -> bool

Generic payload read error This bit indicates that during a DCS read data, the payload FIFO becomes empty and the data sent to the interface is corrupted.

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

Generic payload read error This bit indicates that during a DCS read data, the payload FIFO becomes empty and the data sent to the interface is corrupted.

pub const fn gprxe(&self) -> bool

Generic payload receive error This bit indicates that during a generic interface packet read back, the payload FIFO becomes full and the received data is corrupted.

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

Generic payload receive error This bit indicates that during a generic interface packet read back, the payload FIFO becomes full and the received data is corrupted.

pub const fn pbue(&self) -> bool

Payload buffer underflow error This bit indicates that underflow has occurred when reading payload to build DSI packet for video mode.

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

Payload buffer underflow error This bit indicates that underflow has occurred when reading payload to build DSI packet for video mode.

Trait Implementations§

§

impl Clone for Isr1

§

fn clone(&self) -> Isr1

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 Isr1

§

fn default() -> Isr1

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

impl PartialEq for Isr1

§

fn eq(&self, other: &Isr1) -> 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 Isr1

§

impl Eq for Isr1

§

impl StructuralPartialEq for Isr1

Auto Trait Implementations§

§

impl Freeze for Isr1

§

impl RefUnwindSafe for Isr1

§

impl Send for Isr1

§

impl Sync for Isr1

§

impl Unpin for Isr1

§

impl UnwindSafe for Isr1

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.