# R in k210_pac::spi0::ctrlr0 - Rust
Reader of register ctrlr0
Keywords: rust, rustlang, rust-lang, R

# Type Definition k210_pac::spi0::ctrlr0::R

source · [−]

    pub type R = R<u32, CTRLR0>;

Expand description

Reader of register ctrlr0

## Implementations

source

### impl R

source

#### pub fn work_mode(&self) -> WORK_MODE_R

Bits 6:7 - WORK_MODE

source

#### pub fn tmod(&self) -> TMOD_R

Bits 8:9 - TRANSFER_MODE

source

#### pub fn frame_format(&self) -> FRAME_FORMAT_R

Bits 21:22 - FRAME_FORMAT

source

#### pub fn data_length(&self) -> DATA_LENGTH_R

Bits 16:20 - DATA_BIT_LENGTH