k210_pac::spi0::ctrlr0

Type Alias W

Source
pub type W = W<u32, CTRLR0>;
Expand description

Writer for register ctrlr0

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn work_mode(&mut self) -> WORK_MODE_W<'_>

Bits 6:7 - WORK_MODE

Source

pub fn tmod(&mut self) -> TMOD_W<'_>

Bits 8:9 - TRANSFER_MODE

Source

pub fn frame_format(&mut self) -> FRAME_FORMAT_W<'_>

Bits 21:22 - FRAME_FORMAT

Source

pub fn data_length(&mut self) -> DATA_LENGTH_W<'_>

Bits 16:20 - DATA_BIT_LENGTH