# WORK_MODE_R in k210_pac::spi3::ctrlr0 - Rust
Reader of field `work_mode`
Keywords: rust, rustlang, rust-lang, WORK_MODE_R

# Type Definition k210_pac::spi3::ctrlr0::WORK_MODE_R

source · [−]

    pub type WORK_MODE_R = R<u8, WORK_MODE_A>;

Expand description

Reader of field `work_mode`

## Implementations

source

### impl WORK_MODE_R

source

#### pub fn variant(&self) -> WORK_MODE_A

Get enumerated values variant

source

#### pub fn is_mode0(&self) -> bool

Checks if the value of the field is `MODE0`

source

#### pub fn is_mode1(&self) -> bool

Checks if the value of the field is `MODE1`

source

#### pub fn is_mode2(&self) -> bool

Checks if the value of the field is `MODE2`

source

#### pub fn is_mode3(&self) -> bool

Checks if the value of the field is `MODE3`