Type Alias d1_pac::smhc::smhc_cmd::TRANS_DIR_R

source ·
pub type TRANS_DIR_R = BitReader<TRANS_DIR_A>;
Expand description

Field trans_dir reader - Transfer Direction

Aliased Type§

struct TRANS_DIR_R { /* private fields */ }

Implementations§

source§

impl TRANS_DIR_R

source

pub fn variant(&self) -> TRANS_DIR_A

Get enumerated values variant

source

pub fn is_read(&self) -> bool

Checks if the value of the field is READ

source

pub fn is_write(&self) -> bool

Checks if the value of the field is WRITE