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