k210_pac::spi0::ctrlr0

Type Alias R

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

Reader of register ctrlr0

Aliased Type§

struct R { /* private fields */ }

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