Struct stm32wlxx_hal::pac::usart1::cr3::R

pub struct R(/* private fields */);
Available on crate feature stm32wl5x_cm4 only.
Expand description

Register CR3 reader

Implementations§

§

impl R

pub fn txftcfg(&self) -> FieldReaderRaw<u8, TXFTCFG_A>

Bits 29:31 - TXFIFO threshold configuration

pub fn rxftie(&self) -> BitReaderRaw<RXFTIE_A>

Bit 28 - RXFIFO threshold interrupt enable

pub fn rxftcfg(&self) -> FieldReaderRaw<u8, RXFTCFG_A>

Bits 25:27 - Receive FIFO threshold configuration

pub fn tcbgtie(&self) -> BitReaderRaw<TCBGTIE_A>

Bit 24 - Transmission Complete before guard time, interrupt enable

pub fn txftie(&self) -> BitReaderRaw<TXFTIE_A>

Bit 23 - TXFIFO threshold interrupt enable

pub fn wufie(&self) -> BitReaderRaw<WUFIE_A>

Bit 22 - Wakeup from low-power mode interrupt enable

pub fn wus(&self) -> FieldReaderRaw<u8, WUS_A>

Bits 20:21 - Wakeup from low-power mode interrupt flag selection

pub fn scarcnt(&self) -> FieldReaderRaw<u8, u8>

Bits 17:19 - Smartcard auto-retry count

pub fn dep(&self) -> BitReaderRaw<DEP_A>

Bit 15 - Driver enable polarity selection

pub fn dem(&self) -> BitReaderRaw<DEM_A>

Bit 14 - Driver enable mode

pub fn ddre(&self) -> BitReaderRaw<DDRE_A>

Bit 13 - DMA Disable on Reception Error

pub fn ovrdis(&self) -> BitReaderRaw<OVRDIS_A>

Bit 12 - OVRDIS: Overrun Disable

pub fn onebit(&self) -> BitReaderRaw<ONEBIT_A>

Bit 11 - One sample bit method enable

pub fn ctsie(&self) -> BitReaderRaw<CTSIE_A>

Bit 10 - CTS interrupt enable

pub fn ctse(&self) -> BitReaderRaw<CTSE_A>

Bit 9 - CTS enable

pub fn rtse(&self) -> BitReaderRaw<RTSE_A>

Bit 8 - RTS enable

pub fn dmat(&self) -> BitReaderRaw<DMAT_A>

Bit 7 - DMA enable transmitter

pub fn dmar(&self) -> BitReaderRaw<DMAR_A>

Bit 6 - DMA enable receiver

pub fn scen(&self) -> BitReaderRaw<SCEN_A>

Bit 5 - Smartcard mode enable

pub fn nack(&self) -> BitReaderRaw<NACK_A>

Bit 4 - Smartcard NACK enable

pub fn hdsel(&self) -> BitReaderRaw<HDSEL_A>

Bit 3 - Half-duplex selection

pub fn irlp(&self) -> BitReaderRaw<IRLP_A>

Bit 2 - IrDA low-power

pub fn iren(&self) -> BitReaderRaw<IREN_A>

Bit 1 - IrDA mode enable

pub fn eie(&self) -> BitReaderRaw<EIE_A>

Bit 0 - Error interrupt enable

Methods from Deref<Target = R<CR3_SPEC>>§

pub fn bits(&self) -> <REG as RegisterSpec>::Ux

Reads raw bits from register.

Trait Implementations§

§

impl Deref for R

§

type Target = R<CR3_SPEC>

The resulting type after dereferencing.
§

fn deref(&self) -> &<R as Deref>::Target

Dereferences the value.
§

impl From<R<CR3_SPEC>> for R

§

fn from(reader: R<CR3_SPEC>) -> R

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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.