# ADDR_SLAVE_WIDTH_R in k210_pac::i2c0::con - Rust
Reader of field `addr_slave_width`
Keywords: rust, rustlang, rust-lang, ADDR_SLAVE_WIDTH_R

# Type Definition k210_pac::i2c0::con::ADDR_SLAVE_WIDTH_R

source · [−]

    pub type ADDR_SLAVE_WIDTH_R = R<bool, ADDR_SLAVE_WIDTH_A>;

Expand description

Reader of field `addr_slave_width`

## Implementations

source

### impl ADDR_SLAVE_WIDTH_R

source

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

Get enumerated values variant

source

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

Checks if the value of the field is `B7`

source

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

Checks if the value of the field is `B10`