Struct R

Source
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Source§

impl R

Source

pub fn bits(&self) -> u32

Value of the register as raw bits

Source

pub fn mrdps(&self) -> MRDPSR

Bit 24 - Maximum Read Packet Size

Source

pub fn dlwtx(&self) -> DLWTXR

Bit 19 - DCS Long Write Transmission

Source

pub fn dsr0tx(&self) -> DSR0TXR

Bit 18 - DCS Short Read Zero parameter Transmission

Source

pub fn dsw1tx(&self) -> DSW1TXR

Bit 17 - DCS Short Read One parameter Transmission

Source

pub fn dsw0tx(&self) -> DSW0TXR

Bit 16 - DCS Short Write Zero parameter Transmission

Source

pub fn glwtx(&self) -> GLWTXR

Bit 14 - Generic Long Write Transmission

Source

pub fn gsr2tx(&self) -> GSR2TXR

Bit 13 - Generic Short Read Two parameters Transmission

Source

pub fn gsr1tx(&self) -> GSR1TXR

Bit 12 - Generic Short Read One parameters Transmission

Source

pub fn gsr0tx(&self) -> GSR0TXR

Bit 11 - Generic Short Read Zero parameters Transmission

Source

pub fn gsw2tx(&self) -> GSW2TXR

Bit 10 - Generic Short Write Two parameters Transmission

Source

pub fn gsw1tx(&self) -> GSW1TXR

Bit 9 - Generic Short Write One parameters Transmission

Source

pub fn gsw0tx(&self) -> GSW0TXR

Bit 8 - Generic Short Write Zero parameters Transmission

Source

pub fn are(&self) -> ARER

Bit 1 - Acknowledge Request Enable

Source

pub fn teare(&self) -> TEARER

Bit 0 - Tearing Effect Acknowledge Request Enable

Auto Trait Implementations§

§

impl Freeze for R

§

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 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> 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> Same for T

Source§

type Output = T

Should always be Self
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.