W

Type Alias W 

pub type W = W<TcrSpec>;
Expand description

Register TCR writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

§

impl W

pub fn framesz(&mut self) -> FrameszW<'_, TcrSpec>

Bits 0:11 - Frame Size

pub fn width(&mut self) -> WidthW<'_, TcrSpec>

Bits 16:17 - Transfer Width

pub fn txmsk(&mut self) -> TxmskW<'_, TcrSpec>

Bit 18 - Transmit Data Mask

pub fn rxmsk(&mut self) -> RxmskW<'_, TcrSpec>

Bit 19 - Receive Data Mask

pub fn contc(&mut self) -> ContcW<'_, TcrSpec>

Bit 20 - Continuing Command

pub fn cont(&mut self) -> ContW<'_, TcrSpec>

Bit 21 - Continuous Transfer

pub fn bysw(&mut self) -> ByswW<'_, TcrSpec>

Bit 22 - Byte Swap

pub fn lsbf(&mut self) -> LsbfW<'_, TcrSpec>

Bit 23 - LSB First

pub fn pcs(&mut self) -> PcsW<'_, TcrSpec>

Bits 24:25 - Peripheral Chip Select

pub fn prescale(&mut self) -> PrescaleW<'_, TcrSpec>

Bits 27:29 - Prescaler Value

pub fn cpha(&mut self) -> CphaW<'_, TcrSpec>

Bit 30 - Clock Phase

pub fn cpol(&mut self) -> CpolW<'_, TcrSpec>

Bit 31 - Clock Polarity