Type Alias d1_pac::twi::twi_efr::DBN_R

source ·
pub type DBN_R = FieldReader<u8, DBN_A>;
Expand description

Field dbn reader - Data Byte Number Follow Read Command Control

Aliased Type§

struct DBN_R { /* private fields */ }

Implementations§

source§

impl DBN_R

source

pub fn variant(&self) -> DBN_A

Get enumerated values variant

source

pub fn is_b0(&self) -> bool

Checks if the value of the field is B0

source

pub fn is_b1(&self) -> bool

Checks if the value of the field is B1

source

pub fn is_b2(&self) -> bool

Checks if the value of the field is B2

source

pub fn is_b3(&self) -> bool

Checks if the value of the field is B3