pub type STOPBITS_R = FieldReader<u8, STOPBITS_A>;
Expand description

Field STOPBITS reader - Stop-Bit Mode

Implementations§

source§

impl STOPBITS_R

source

pub fn variant(&self) -> STOPBITS_A

Get enumerated values variant

source

pub fn is_half(&self) -> bool

Checks if the value of the field is HALF

source

pub fn is_one(&self) -> bool

Checks if the value of the field is ONE

source

pub fn is_oneandahalf(&self) -> bool

Checks if the value of the field is ONEANDAHALF

source

pub fn is_two(&self) -> bool

Checks if the value of the field is TWO