R

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 halt(&self) -> HALTR

Bit 0 - Halt

Source

pub fn smpl_pt(&self) -> SMPL_PTR

Bits 8:9 - Sample Point

Source

pub fn dis_rxf(&self) -> DIS_RXFR

Bit 12 - Disable Receive FIFO

Source

pub fn dis_txf(&self) -> DIS_TXFR

Bit 13 - Disable Transmit FIFO

Source

pub fn mdis(&self) -> MDISR

Bit 14 - Module Disable

Source

pub fn doze(&self) -> DOZER

Bit 15 - Doze Enable

Source

pub fn pcsis0(&self) -> PCSIS0R

Bit 16 - Peripheral Chip Select x Inactive State

Source

pub fn pcsis1(&self) -> PCSIS1R

Bit 17 - Peripheral Chip Select x Inactive State

Source

pub fn pcsis2(&self) -> PCSIS2R

Bit 18 - Peripheral Chip Select x Inactive State

Source

pub fn pcsis3(&self) -> PCSIS3R

Bit 19 - Peripheral Chip Select x Inactive State

Source

pub fn pcsis4(&self) -> PCSIS4R

Bit 20 - Peripheral Chip Select x Inactive State

Source

pub fn pcsis5(&self) -> PCSIS5R

Bit 21 - Peripheral Chip Select x Inactive State

Source

pub fn rooe(&self) -> ROOER

Bit 24 - Receive FIFO Overflow Overwrite Enable

Source

pub fn pcsse(&self) -> PCSSER

Bit 25 - Peripheral Chip Select Strobe Enable

Source

pub fn mtfe(&self) -> MTFER

Bit 26 - Modified Timing Format Enable

Source

pub fn frz(&self) -> FRZR

Bit 27 - Freeze

Source

pub fn dconf(&self) -> DCONFR

Bits 28:29 - SPI Configuration.

Source

pub fn cont_scke(&self) -> CONT_SCKER

Bit 30 - Continuous SCK Enable

Source

pub fn mstr(&self) -> MSTRR

Bit 31 - Master/Slave Mode Select

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.