[−][src]Struct lpc81x_pac::usart0::cfg::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 enable(&self) -> ENABLER
[src]
Bit 0 - USART Enable.
pub fn datalen(&self) -> DATALENR
[src]
Bits 2:3 - Selects the data size for the USART.
pub fn paritysel(&self) -> PARITYSELR
[src]
Bits 4:5 - Selects what type of parity is used by the USART.
pub fn stoplen(&self) -> STOPLENR
[src]
Bit 6 - Number of stop bits appended to transmitted data. Only a single stop bit is required for received data.
pub fn ctsen(&self) -> CTSENR
[src]
Bit 9 - CTS Enable. Determines whether CTS is used for flow control. CTS can be from the input pin, or from the USART's own RTS if loopback mode is enabled. See Section 16.7.3 for more information.
pub fn syncen(&self) -> SYNCENR
[src]
Bit 11 - Selects synchronous or asynchronous operation.
pub fn clkpol(&self) -> CLKPOLR
[src]
Bit 12 - Selects the clock polarity and sampling edge of received data in synchronous mode.
pub fn syncmst(&self) -> SYNCMSTR
[src]
Bit 14 - Synchronous mode Master select.
pub fn loop_(&self) -> LOOPR
[src]
Bit 15 - Selects data loopback mode.
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