Struct stm32_hal2::pac::usart1::cr3::R

source ·
pub struct R(/* private fields */);
Expand description

Register CR3 reader

Implementations§

source§

impl R

source

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

Bits 29:31 - TXFIFO threshold configuration

source

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

Bit 28 - RXFIFO threshold interrupt enable

source

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

Bits 25:27 - Receive FIFO threshold configuration

source

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

Bit 24 - Transmission Complete before guard time, interrupt enable

source

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

Bit 23 - TXFIFO threshold interrupt enable

source

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

Bit 22 - Wakeup from Stop mode interrupt enable

source

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

Bits 20:21 - Wakeup from Stop mode interrupt flag selection

source

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

Bits 17:19 - Smartcard auto-retry count

source

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

Bit 15 - Driver enable polarity selection

source

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

Bit 14 - Driver enable mode

source

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

Bit 13 - DMA Disable on Reception Error

source

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

Bit 12 - Overrun Disable

source

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

Bit 11 - One sample bit method enable

source

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

Bit 10 - CTS interrupt enable

source

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

Bit 9 - CTS enable

source

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

Bit 8 - RTS enable

source

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

Bit 7 - DMA enable transmitter

source

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

Bit 6 - DMA enable receiver

source

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

Bit 5 - Smartcard mode enable

source

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

Bit 4 - Smartcard NACK enable

source

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

Bit 3 - Half-duplex selection

source

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

Bit 2 - Ir low-power

source

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

Bit 1 - Ir mode enable

source

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

Bit 0 - Error interrupt enable

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<CR3_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<CR3_SPEC>> for R

source§

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 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> 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>,

§

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>,

§

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.