STATE_R

Type Alias STATE_R 

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

Field STATE reader - Transmission State

Aliased Type§

pub struct STATE_R { /* private fields */ }

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