Type Alias d1_pac::twi::twi_drv_slv::CMD_R

source ·
pub type CMD_R = BitReader<CMD_A>;
Expand description

Field cmd reader - R/W operation to slave device

Aliased Type§

struct CMD_R { /* private fields */ }

Implementations§

source§

impl CMD_R

source

pub fn variant(&self) -> CMD_A

Get enumerated values variant

source

pub fn is_write(&self) -> bool

Checks if the value of the field is WRITE

source

pub fn is_read(&self) -> bool

Checks if the value of the field is READ