[−][src]Struct stm32f3::stm32f303::usart1::cr2::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn rtoen(&mut self) -> _RTOENW
[src]
Bit 23 - Receiver timeout enable
pub fn abrmod(&mut self) -> _ABRMODW
[src]
Bits 21:22 - Auto baud rate mode
pub fn abren(&mut self) -> _ABRENW
[src]
Bit 20 - Auto baud rate enable
pub fn msbfirst(&mut self) -> _MSBFIRSTW
[src]
Bit 19 - Most significant bit first
pub fn datainv(&mut self) -> _DATAINVW
[src]
Bit 18 - Binary data inversion
pub fn txinv(&mut self) -> _TXINVW
[src]
Bit 17 - TX pin active level inversion
pub fn rxinv(&mut self) -> _RXINVW
[src]
Bit 16 - RX pin active level inversion
pub fn swap(&mut self) -> _SWAPW
[src]
Bit 15 - Swap TX/RX pins
pub fn linen(&mut self) -> _LINENW
[src]
Bit 14 - LIN mode enable
pub fn stop(&mut self) -> _STOPW
[src]
Bits 12:13 - STOP bits
pub fn clken(&mut self) -> _CLKENW
[src]
Bit 11 - Clock enable
pub fn cpol(&mut self) -> _CPOLW
[src]
Bit 10 - Clock polarity
pub fn cpha(&mut self) -> _CPHAW
[src]
Bit 9 - Clock phase
pub fn lbcl(&mut self) -> _LBCLW
[src]
Bit 8 - Last bit clock pulse
pub fn lbdie(&mut self) -> _LBDIEW
[src]
Bit 6 - LIN break detection interrupt enable
pub fn lbdl(&mut self) -> _LBDLW
[src]
Bit 5 - LIN break detection length
pub fn addm7(&mut self) -> _ADDM7W
[src]
Bit 4 - 7-bit Address Detection/4-bit Address Detection
pub fn add(&mut self) -> _ADDW
[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