# TMOD_R in k210_pac::spi0::ctrlr0 - Rust
Reader of field `tmod`
Keywords: rust, rustlang, rust-lang, TMOD_R

# Type Definition k210_pac::spi0::ctrlr0::TMOD_R

source · [−]

    pub type TMOD_R = R<u8, TMOD_A>;

Expand description

Reader of field `tmod`

## Implementations

source

### impl TMOD_R

source

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

Get enumerated values variant

source

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

Checks if the value of the field is `TRANS_RECV`

source

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

Checks if the value of the field is `TRANS`

source

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

Checks if the value of the field is `RECV`

source

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

Checks if the value of the field is `EEROM`