Type Alias d1_pac::twi::twi_drv_ctrl::TRAN_RESULT_R

source ·
pub type TRAN_RESULT_R = FieldReader<u8, TRAN_RESULT_A>;
Expand description

Field tran_result reader - Transition result

Aliased Type§

struct TRAN_RESULT_R { /* private fields */ }

Implementations§

source§

impl TRAN_RESULT_R

source

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

Get enumerated values variant

source

pub fn is_ok(&self) -> bool

Checks if the value of the field is OK

source

pub fn is_fail(&self) -> bool

Checks if the value of the field is FAIL