Type Definition atsam4ls4b_pac::usart0::mr_spi::W[][src]

type W = W<u32, MR_SPI>;

Writer for register MR_SPI

Implementations

impl W[src]

pub fn mode(&mut self) -> MODE_W<'_>[src]

Bits 0:3 - Usart Mode

pub fn usclks(&mut self) -> USCLKS_W<'_>[src]

Bits 4:5 - Clock Selection

pub fn chrl(&mut self) -> CHRL_W<'_>[src]

Bits 6:7 - Character Length.

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

Bit 8 - SPI CLock Phase

pub fn par(&mut self) -> PAR_W<'_>[src]

Bits 9:11 - Parity Type

pub fn nbstop(&mut self) -> NBSTOP_W<'_>[src]

Bits 12:13 - Number of Stop Bits

pub fn chmode(&mut self) -> CHMODE_W<'_>[src]

Bits 14:15 - Channel Mode

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

Bit 16 - SPI Clock Polarity

pub fn mode9(&mut self) -> MODE9_W<'_>[src]

Bit 17 - 9-bit Character Length

pub fn clko(&mut self) -> CLKO_W<'_>[src]

Bit 18 - Clock Output Select

pub fn over(&mut self) -> OVER_W<'_>[src]

Bit 19 - Oversampling Mode

pub fn inack(&mut self) -> INACK_W<'_>[src]

Bit 20 - Inhibit Non Acknowledge

pub fn dsnack(&mut self) -> DSNACK_W<'_>[src]

Bit 21 - Disable Successive NACK

pub fn invdata(&mut self) -> INVDATA_W<'_>[src]

Bit 23 - Inverted data

pub fn max_iteration(&mut self) -> MAX_ITERATION_W<'_>[src]

Bits 24:26 - Max interation

pub fn filter(&mut self) -> FILTER_W<'_>[src]

Bit 28 - Infrared Receive Line Filter