Type Definition efm32gg11b_pac::efm32gg11b840::usb::grxstsp::DPID_R

source ·
pub type DPID_R = FieldReader<u8, DPID_A>;
Expand description

Field DPID reader - Data PID (host or device)

Implementations§

source§

impl DPID_R

source

pub fn variant(&self) -> DPID_A

Get enumerated values variant

source

pub fn is_data0(&self) -> bool

Checks if the value of the field is DATA0

source

pub fn is_data1(&self) -> bool

Checks if the value of the field is DATA1

source

pub fn is_data2(&self) -> bool

Checks if the value of the field is DATA2

source

pub fn is_mdata(&self) -> bool

Checks if the value of the field is MDATA