Embassy
rp-pac

Crates

git

Versions

default

Flavors

Struct rp_pac::uart::regs::Uarticr

source ·
#[repr(transparent)]
pub struct Uarticr(pub u32);
Expand description

Interrupt Clear Register, UARTICR

Tuple Fields§

§0: u32

Implementations§

source§

impl Uarticr

source

pub const fn rimic(&self) -> bool

nUARTRI modem interrupt clear. Clears the UARTRIINTR interrupt.

source

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

nUARTRI modem interrupt clear. Clears the UARTRIINTR interrupt.

source

pub const fn ctsmic(&self) -> bool

nUARTCTS modem interrupt clear. Clears the UARTCTSINTR interrupt.

source

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

nUARTCTS modem interrupt clear. Clears the UARTCTSINTR interrupt.

source

pub const fn dcdmic(&self) -> bool

nUARTDCD modem interrupt clear. Clears the UARTDCDINTR interrupt.

source

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

nUARTDCD modem interrupt clear. Clears the UARTDCDINTR interrupt.

source

pub const fn dsrmic(&self) -> bool

nUARTDSR modem interrupt clear. Clears the UARTDSRINTR interrupt.

source

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

nUARTDSR modem interrupt clear. Clears the UARTDSRINTR interrupt.

source

pub const fn rxic(&self) -> bool

Receive interrupt clear. Clears the UARTRXINTR interrupt.

source

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

Receive interrupt clear. Clears the UARTRXINTR interrupt.

source

pub const fn txic(&self) -> bool

Transmit interrupt clear. Clears the UARTTXINTR interrupt.

source

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

Transmit interrupt clear. Clears the UARTTXINTR interrupt.

source

pub const fn rtic(&self) -> bool

Receive timeout interrupt clear. Clears the UARTRTINTR interrupt.

source

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

Receive timeout interrupt clear. Clears the UARTRTINTR interrupt.

source

pub const fn feic(&self) -> bool

Framing error interrupt clear. Clears the UARTFEINTR interrupt.

source

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

Framing error interrupt clear. Clears the UARTFEINTR interrupt.

source

pub const fn peic(&self) -> bool

Parity error interrupt clear. Clears the UARTPEINTR interrupt.

source

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

Parity error interrupt clear. Clears the UARTPEINTR interrupt.

source

pub const fn beic(&self) -> bool

Break error interrupt clear. Clears the UARTBEINTR interrupt.

source

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

Break error interrupt clear. Clears the UARTBEINTR interrupt.

source

pub const fn oeic(&self) -> bool

Overrun error interrupt clear. Clears the UARTOEINTR interrupt.

source

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

Overrun error interrupt clear. Clears the UARTOEINTR interrupt.

Trait Implementations§

source§

impl Clone for Uarticr

source§

fn clone(&self) -> Uarticr

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
source§

impl Default for Uarticr

source§

fn default() -> Uarticr

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

impl PartialEq<Uarticr> for Uarticr

source§

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

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

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

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

impl Copy for Uarticr

source§

impl Eq for Uarticr

source§

impl StructuralEq for Uarticr

source§

impl StructuralPartialEq for Uarticr

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.