# W in k210_pac::spi0::ctrlr0 - Rust
Writer for register ctrlr0
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::spi0::ctrlr0::W

source · [−]

    pub type W = W<u32, CTRLR0>;

Expand description

Writer for register ctrlr0

## 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