Type Definition efm32gg11b_pac::efm32gg11b840::i2c2::state::STATE_R

source ·
pub type STATE_R = FieldReader<u8, STATE_A>;
Expand description

Field STATE reader - Transmission State

Implementations§

source§

impl STATE_R

source

pub fn variant(&self) -> Option<STATE_A>

Get enumerated values variant

source

pub fn is_idle(&self) -> bool

Checks if the value of the field is IDLE

source

pub fn is_wait(&self) -> bool

Checks if the value of the field is WAIT

source

pub fn is_start(&self) -> bool

Checks if the value of the field is START

source

pub fn is_addr(&self) -> bool

Checks if the value of the field is ADDR

source

pub fn is_addrack(&self) -> bool

Checks if the value of the field is ADDRACK

source

pub fn is_data(&self) -> bool

Checks if the value of the field is DATA

source

pub fn is_dataack(&self) -> bool

Checks if the value of the field is DATAACK