[][src]Struct imxrt1062_lpspi1::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _CR>>[src]

pub fn men(&mut self) -> MEN_W[src]

Bit 0 - Module Enable

pub fn rst(&mut self) -> RST_W[src]

Bit 1 - Software Reset

pub fn dozen(&mut self) -> DOZEN_W[src]

Bit 2 - Doze mode enable

pub fn dbgen(&mut self) -> DBGEN_W[src]

Bit 3 - Debug Enable

pub fn rtf(&mut self) -> RTF_W[src]

Bit 8 - Reset Transmit FIFO

pub fn rrf(&mut self) -> RRF_W[src]

Bit 9 - Reset Receive FIFO

impl W<u32, Reg<u32, _SR>>[src]

pub fn wcf(&mut self) -> WCF_W[src]

Bit 8 - Word Complete Flag

pub fn fcf(&mut self) -> FCF_W[src]

Bit 9 - Frame Complete Flag

pub fn tcf(&mut self) -> TCF_W[src]

Bit 10 - Transfer Complete Flag

pub fn tef(&mut self) -> TEF_W[src]

Bit 11 - Transmit Error Flag

pub fn ref_(&mut self) -> REF_W[src]

Bit 12 - Receive Error Flag

pub fn dmf(&mut self) -> DMF_W[src]

Bit 13 - Data Match Flag

impl W<u32, Reg<u32, _IER>>[src]

pub fn tdie(&mut self) -> TDIE_W[src]

Bit 0 - Transmit Data Interrupt Enable

pub fn rdie(&mut self) -> RDIE_W[src]

Bit 1 - Receive Data Interrupt Enable

pub fn wcie(&mut self) -> WCIE_W[src]

Bit 8 - Word Complete Interrupt Enable

pub fn fcie(&mut self) -> FCIE_W[src]

Bit 9 - Frame Complete Interrupt Enable

pub fn tcie(&mut self) -> TCIE_W[src]

Bit 10 - Transfer Complete Interrupt Enable

pub fn teie(&mut self) -> TEIE_W[src]

Bit 11 - Transmit Error Interrupt Enable

pub fn reie(&mut self) -> REIE_W[src]

Bit 12 - Receive Error Interrupt Enable

pub fn dmie(&mut self) -> DMIE_W[src]

Bit 13 - Data Match Interrupt Enable

impl W<u32, Reg<u32, _DER>>[src]

pub fn tdde(&mut self) -> TDDE_W[src]

Bit 0 - Transmit Data DMA Enable

pub fn rdde(&mut self) -> RDDE_W[src]

Bit 1 - Receive Data DMA Enable

impl W<u32, Reg<u32, _CFGR0>>[src]

pub fn hren(&mut self) -> HREN_W[src]

Bit 0 - Host Request Enable

pub fn hrpol(&mut self) -> HRPOL_W[src]

Bit 1 - Host Request Polarity

pub fn hrsel(&mut self) -> HRSEL_W[src]

Bit 2 - Host Request Select

pub fn cirfifo(&mut self) -> CIRFIFO_W[src]

Bit 8 - Circular FIFO Enable

pub fn rdmo(&mut self) -> RDMO_W[src]

Bit 9 - Receive Data Match Only

impl W<u32, Reg<u32, _CFGR1>>[src]

pub fn master(&mut self) -> MASTER_W[src]

Bit 0 - Master Mode

pub fn sample(&mut self) -> SAMPLE_W[src]

Bit 1 - Sample Point

pub fn autopcs(&mut self) -> AUTOPCS_W[src]

Bit 2 - Automatic PCS

pub fn nostall(&mut self) -> NOSTALL_W[src]

Bit 3 - No Stall

pub fn pcspol(&mut self) -> PCSPOL_W[src]

Bits 8:11 - Peripheral Chip Select Polarity

pub fn matcfg(&mut self) -> MATCFG_W[src]

Bits 16:18 - Match Configuration

pub fn pincfg(&mut self) -> PINCFG_W[src]

Bits 24:25 - Pin Configuration

pub fn outcfg(&mut self) -> OUTCFG_W[src]

Bit 26 - Output Config

pub fn pcscfg(&mut self) -> PCSCFG_W[src]

Bit 27 - Peripheral Chip Select Configuration

impl W<u32, Reg<u32, _DMR0>>[src]

pub fn match0(&mut self) -> MATCH0_W[src]

Bits 0:31 - Match 0 Value

impl W<u32, Reg<u32, _DMR1>>[src]

pub fn match1(&mut self) -> MATCH1_W[src]

Bits 0:31 - Match 1 Value

impl W<u32, Reg<u32, _CCR>>[src]

pub fn sckdiv(&mut self) -> SCKDIV_W[src]

Bits 0:7 - SCK Divider

pub fn dbt(&mut self) -> DBT_W[src]

Bits 8:15 - Delay Between Transfers

pub fn pcssck(&mut self) -> PCSSCK_W[src]

Bits 16:23 - PCS-to-SCK Delay

pub fn sckpcs(&mut self) -> SCKPCS_W[src]

Bits 24:31 - SCK-to-PCS Delay

impl W<u32, Reg<u32, _FCR>>[src]

pub fn txwater(&mut self) -> TXWATER_W[src]

Bits 0:3 - Transmit FIFO Watermark

pub fn rxwater(&mut self) -> RXWATER_W[src]

Bits 16:19 - Receive FIFO Watermark

impl W<u32, Reg<u32, _TCR>>[src]

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

Bits 0:11 - Frame Size

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

Bits 16:17 - Transfer Width

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

Bit 18 - Transmit Data Mask

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

Bit 19 - Receive Data Mask

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

Bit 20 - Continuing Command

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

Bit 21 - Continuous Transfer

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

Bit 22 - Byte Swap

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

Bit 23 - LSB First

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

Bits 24:25 - Peripheral Chip Select

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

Bits 27:29 - Prescaler Value

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

Bit 30 - Clock Phase

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

Bit 31 - Clock Polarity

impl W<u32, Reg<u32, _TDR>>[src]

pub fn data(&mut self) -> DATA_W[src]

Bits 0:31 - Transmit Data

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.