R

Type Alias R 

pub type R = R<TcrSpec>;
Expand description

Register TCR reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

§

impl R

pub fn framesz(&self) -> FrameszR

Bits 0:11 - Frame Size

pub fn width(&self) -> WidthR

Bits 16:17 - Transfer Width

pub fn txmsk(&self) -> TxmskR

Bit 18 - Transmit Data Mask

pub fn rxmsk(&self) -> RxmskR

Bit 19 - Receive Data Mask

pub fn contc(&self) -> ContcR

Bit 20 - Continuing Command

pub fn cont(&self) -> ContR

Bit 21 - Continuous Transfer

pub fn bysw(&self) -> ByswR

Bit 22 - Byte Swap

pub fn lsbf(&self) -> LsbfR

Bit 23 - LSB First

pub fn pcs(&self) -> PcsR

Bits 24:25 - Peripheral Chip Select

pub fn prescale(&self) -> PrescaleR

Bits 27:29 - Prescaler Value

pub fn cpha(&self) -> CphaR

Bit 30 - Clock Phase

pub fn cpol(&self) -> CpolR

Bit 31 - Clock Polarity