Struct s32k144::lpspi1::tcr::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
fn framesz(&mut self) -> _FrameszW
Bits 0:11 - Frame Size
fn width(&mut self) -> _WidthW
Bits 16:17 - Transfer Width
fn txmsk(&mut self) -> _TxmskW
Bit 18 - Transmit Data Mask
fn rxmsk(&mut self) -> _RxmskW
Bit 19 - Receive Data Mask
fn contc(&mut self) -> _ContcW
Bit 20 - Continuing Command
fn cont(&mut self) -> _ContW
Bit 21 - Continuous Transfer
fn bysw(&mut self) -> _ByswW
Bit 22 - Byte Swap
fn lsbf(&mut self) -> _LsbfW
Bit 23 - LSB First
fn pcs(&mut self) -> _PcsW
Bits 24:25 - Peripheral Chip Select
fn prescale(&mut self) -> _PrescaleW
Bits 27:29 - Prescaler Value
fn cpha(&mut self) -> _CphaW
Bit 30 - Clock Phase
fn cpol(&mut self) -> _CpolW
Bit 31 - Clock Polarity