[][src]Struct s32k144::lpspi1::tcr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R
[src]

pub fn bits(&self) -> u32
[src]

Value of the register as raw bits

pub fn framesz(&self) -> FRAMESZR
[src]

Bits 0:11 - Frame Size

pub fn width(&self) -> WIDTHR
[src]

Bits 16:17 - Transfer Width

pub fn txmsk(&self) -> TXMSKR
[src]

Bit 18 - Transmit Data Mask

pub fn rxmsk(&self) -> RXMSKR
[src]

Bit 19 - Receive Data Mask

pub fn contc(&self) -> CONTCR
[src]

Bit 20 - Continuing Command

pub fn cont(&self) -> CONTR
[src]

Bit 21 - Continuous Transfer

pub fn bysw(&self) -> BYSWR
[src]

Bit 22 - Byte Swap

pub fn lsbf(&self) -> LSBFR
[src]

Bit 23 - LSB First

pub fn pcs(&self) -> PCSR
[src]

Bits 24:25 - Peripheral Chip Select

pub fn prescale(&self) -> PRESCALER
[src]

Bits 27:29 - Prescaler Value

pub fn cpha(&self) -> CPHAR
[src]

Bit 30 - Clock Phase

pub fn cpol(&self) -> CPOLR
[src]

Bit 31 - Clock Polarity

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]