pub type DIRECTION_R = BitReader<DIRECTION_A>;
Expand description
Field DIRECTION
reader - Data transfer direction
Aliased Type§
struct DIRECTION_R { /* private fields */ }
Implementations§
Source§impl DIRECTION_R
impl DIRECTION_R
Sourcepub fn variant(&self) -> DIRECTION_A
pub fn variant(&self) -> DIRECTION_A
Get enumerated values variant
Sourcepub fn is_host_to_device(&self) -> bool
pub fn is_host_to_device(&self) -> bool
Checks if the value of the field is HOST_TO_DEVICE
Sourcepub fn is_device_to_host(&self) -> bool
pub fn is_device_to_host(&self) -> bool
Checks if the value of the field is DEVICE_TO_HOST