Sci0

Struct Sci0 

Source
pub struct Sci0 { /* private fields */ }

Implementations§

Source§

impl Sci0

Source

pub const fn smr(&self) -> &'static Reg<Smr_SPEC, RW>

Serial Mode Register for Non-Smart Card Interface Mode (SCMR.SMIF = 0)

Source

pub const fn smr_smci(&self) -> &'static Reg<SmrSmci_SPEC, RW>

Serial Mode Register for Smart Card Interface Mode (SCMR.SMIF = 1)

Source

pub const fn brr(&self) -> &'static Reg<Brr_SPEC, RW>

Bit Rate Register

Source

pub const fn scr(&self) -> &'static Reg<Scr_SPEC, RW>

Serial Control Register for Non-Smart Card Interface Mode (SCMR.SMIF = 0)

Source

pub const fn scr_smci(&self) -> &'static Reg<ScrSmci_SPEC, RW>

Serial Control Register for Smart Card Interface Mode (SCMR.SMIF = 1)

Source

pub const fn tdr(&self) -> &'static Reg<Tdr_SPEC, RW>

Transmit Data Register

Source

pub const fn ssr(&self) -> &'static Reg<Ssr_SPEC, RW>

Serial Status Register for Non-Smart Card Interface and Non-FIFO Mode (SCMR.SMIF = 0, FCR.FM = 0, and MMR.MANEN = 0)

Source

pub const fn ssr_fifo(&self) -> &'static Reg<SsrFifo_SPEC, RW>

Serial Status Register for Non-Smart Card Interface and FIFO Mode (SCMR.SMIF = 0, FCR.FM = 1, and MMR.MANEN = 0)

Source

pub const fn ssr_manc(&self) -> &'static Reg<SsrManc_SPEC, RW>

Serial Status Register for Manchester Mode (SCMR.SMIF = 0, and MMR.MANEN = 1)

Source

pub const fn ssr_smci(&self) -> &'static Reg<SsrSmci_SPEC, RW>

Serial Status Register for Smart Card Interface Mode (SCMR.SMIF = 1, and MMR.MANEN = 0)

Source

pub const fn rdr(&self) -> &'static Reg<Rdr_SPEC, R>

Receive Data Register

Source

pub const fn scmr(&self) -> &'static Reg<Scmr_SPEC, RW>

Smart Card Mode Register

Source

pub const fn semr(&self) -> &'static Reg<Semr_SPEC, RW>

Serial Extended Mode Register

Source

pub const fn snfr(&self) -> &'static Reg<Snfr_SPEC, RW>

Noise Filter Setting Register

Source

pub const fn simr1(&self) -> &'static Reg<Simr1_SPEC, RW>

IIC Mode Register 1

Source

pub const fn simr2(&self) -> &'static Reg<Simr2_SPEC, RW>

IIC Mode Register 2

Source

pub const fn simr3(&self) -> &'static Reg<Simr3_SPEC, RW>

IIC Mode Register 3

Source

pub const fn sisr(&self) -> &'static Reg<Sisr_SPEC, R>

IIC Status Register

Source

pub const fn spmr(&self) -> &'static Reg<Spmr_SPEC, RW>

SPI Mode Register

Source

pub const fn ftdrhl(&self) -> &'static Reg<Ftdrhl_SPEC, W>

Transmit FIFO Data Register

Source

pub const fn tdrhl(&self) -> &'static Reg<Tdrhl_SPEC, RW>

Transmit Data Register for Non-Manchester mode (MMR.MANEN = 0)

Source

pub const fn tdrhl_man(&self) -> &'static Reg<TdrhlMan_SPEC, RW>

Transmit Data Register for Manchester mode (MMR.MANEN = 1)

Source

pub const fn ftdrh(&self) -> &'static Reg<Ftdrh_SPEC, W>

Transmit FIFO Data Register

Source

pub const fn ftdrl(&self) -> &'static Reg<Ftdrl_SPEC, W>

Transmit FIFO Data Register

Source

pub const fn frdrhl(&self) -> &'static Reg<Frdrhl_SPEC, R>

Receive FIFO Data Register

Source

pub const fn rdrhl(&self) -> &'static Reg<Rdrhl_SPEC, R>

Receive Data Register for Non-Manchester mode (MMR.MANEN = 0)

Source

pub const fn rdrhl_man(&self) -> &'static Reg<RdrhlMan_SPEC, R>

Receive Data Register for Manchester mode (MMR.MANEN = 1)

Source

pub const fn frdrh(&self) -> &'static Reg<Frdrh_SPEC, R>

Receive FIFO Data Register

Source

pub const fn frdrl(&self) -> &'static Reg<Frdrl_SPEC, R>

Receive FIFO Data Register

Source

pub const fn mddr(&self) -> &'static Reg<Mddr_SPEC, RW>

Modulation Duty Register

Source

pub const fn dccr(&self) -> &'static Reg<Dccr_SPEC, RW>

Data Compare Match Control Register

Source

pub const fn fcr(&self) -> &'static Reg<Fcr_SPEC, RW>

FIFO Control Register

Source

pub const fn fdr(&self) -> &'static Reg<Fdr_SPEC, R>

FIFO Data Count Register

Source

pub const fn lsr(&self) -> &'static Reg<Lsr_SPEC, R>

Line Status Register

Source

pub const fn cdr(&self) -> &'static Reg<Cdr_SPEC, RW>

Compare Match Data Register

Source

pub const fn sptr(&self) -> &'static Reg<Sptr_SPEC, RW>

Serial Port Register

Source

pub const fn actr(&self) -> &'static Reg<Actr_SPEC, RW>

Adjustment Communication Timing Register

Source

pub const fn mmr(&self) -> &'static Reg<Mmr_SPEC, RW>

Manchester Mode Register

Source

pub const fn tmpr(&self) -> &'static Reg<Tmpr_SPEC, RW>

Transmit Manchester Preface Setting Register

Source

pub const fn rmpr(&self) -> &'static Reg<Rmpr_SPEC, RW>

Receive Manchester Preface Setting Register

Source

pub const fn mesr(&self) -> &'static Reg<Mesr_SPEC, RW>

Manchester Extended Error Status Register

Source

pub const fn mecr(&self) -> &'static Reg<Mecr_SPEC, RW>

Manchester Extended Error Control Register

Trait Implementations§

Source§

impl Clone for Sci0

Source§

fn clone(&self) -> Sci0

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Sci0

Source§

fn eq(&self, other: &Sci0) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Sci0

Source§

impl Eq for Sci0

Source§

impl Send for Sci0

Serial Communication Interface

Source§

impl StructuralPartialEq for Sci0

Source§

impl Sync for Sci0

Auto Trait Implementations§

§

impl Freeze for Sci0

§

impl RefUnwindSafe for Sci0

§

impl Unpin for Sci0

§

impl UnwindSafe for Sci0

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.