[−]Struct nucleo_f042k6::stm32::usart1::cr2::R
Value read from the register
Methods
impl R
impl R
pub fn bits(&self) -> u32 |
Value of the register as raw bits
pub fn rtoen(&self) -> RTOENR |
Bit 23 - Receiver timeout enable
pub fn abrmod(&self) -> ABRMODR |
Bits 21:22 - Auto baud rate mode
pub fn abren(&self) -> ABRENR |
Bit 20 - Auto baud rate enable
pub fn msbfirst(&self) -> MSBFIRSTR |
Bit 19 - Most significant bit first
pub fn datainv(&self) -> DATAINVR |
Bit 18 - Binary data inversion
pub fn txinv(&self) -> TXINVR |
Bit 17 - TX pin active level inversion
pub fn rxinv(&self) -> RXINVR |
Bit 16 - RX pin active level inversion
pub fn swap(&self) -> SWAPR |
Bit 15 - Swap TX/RX pins
pub fn linen(&self) -> LINENR |
Bit 14 - LIN mode enable
pub fn stop(&self) -> STOPR |
Bits 12:13 - STOP bits
pub fn clken(&self) -> CLKENR |
Bit 11 - Clock enable
pub fn cpol(&self) -> CPOLR |
Bit 10 - Clock polarity
pub fn cpha(&self) -> CPHAR |
Bit 9 - Clock phase
pub fn lbcl(&self) -> LBCLR |
Bit 8 - Last bit clock pulse
pub fn lbdie(&self) -> LBDIER |
Bit 6 - LIN break detection interrupt enable
pub fn lbdl(&self) -> LBDLR |
Bit 5 - LIN break detection length
pub fn addm7(&self) -> ADDM7R |
Bit 4 - 7-bit Address Detection/4-bit Address Detection
pub fn add(&self) -> ADDR |
Bits 24:31 - Address of the USART node
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |