Struct atsam4s2a_pac::usart0::mr::R

source ·
pub struct R(_);
Expand description

Register MR reader

Implementations§

source§

impl R

source

pub fn usart_mode(&self) -> USART_MODE_R

Bits 0:3 - USART Mode of Operation

source

pub fn usclks(&self) -> USCLKS_R

Bits 4:5 - Clock Selection

source

pub fn chrl(&self) -> CHRL_R

Bits 6:7 - Character Length

source

pub fn sync(&self) -> SYNC_R

Bit 8 - Synchronous Mode Select

source

pub fn par(&self) -> PAR_R

Bits 9:11 - Parity Type

source

pub fn nbstop(&self) -> NBSTOP_R

Bits 12:13 - Number of Stop Bits

source

pub fn chmode(&self) -> CHMODE_R

Bits 14:15 - Channel Mode

source

pub fn msbf(&self) -> MSBF_R

Bit 16 - Bit Order

source

pub fn mode9(&self) -> MODE9_R

Bit 17 - 9-bit Character Length

source

pub fn clko(&self) -> CLKO_R

Bit 18 - Clock Output Select

source

pub fn over(&self) -> OVER_R

Bit 19 - Oversampling Mode

source

pub fn inack(&self) -> INACK_R

Bit 20 - Inhibit Non Acknowledge

source

pub fn dsnack(&self) -> DSNACK_R

Bit 21 - Disable Successive NACK

source

pub fn var_sync(&self) -> VAR_SYNC_R

Bit 22 - Variable Synchronization of Command/Data Sync Start Frame Delimiter

source

pub fn invdata(&self) -> INVDATA_R

Bit 23 - Inverted Data

source

pub fn max_iteration(&self) -> MAX_ITERATION_R

Bits 24:26 - Maximum Number of Automatic Iteration

source

pub fn filter(&self) -> FILTER_R

Bit 28 - Infrared Receive Line Filter

source

pub fn man(&self) -> MAN_R

Bit 29 - Manchester Encoder/Decoder Enable

source

pub fn modsync(&self) -> MODSYNC_R

Bit 30 - Manchester Synchronization Mode

source

pub fn onebit(&self) -> ONEBIT_R

Bit 31 - Start Frame Delimiter Selector

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<MR_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<MR_SPEC>> for R

source§

fn from(reader: R<MR_SPEC>) -> Self

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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere 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 Twhere 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.