Type Definition atsam4ls8c_pac::usbc::usbfsm::DRDSTATE_R
source · pub type DRDSTATE_R = FieldReader<u8, DRDSTATESELECT_A>;
Expand description
Field DRDSTATE
reader - DualRoleDevice state
Implementations§
source§impl DRDSTATE_R
impl DRDSTATE_R
sourcepub fn variant(&self) -> DRDSTATESELECT_A
pub fn variant(&self) -> DRDSTATESELECT_A
Get enumerated values variant
sourcepub fn is_a_wait_vrise(&self) -> bool
pub fn is_a_wait_vrise(&self) -> bool
Checks if the value of the field is A_WAIT_VRISE
sourcepub fn is_a_wait_bcon(&self) -> bool
pub fn is_a_wait_bcon(&self) -> bool
Checks if the value of the field is A_WAIT_BCON
sourcepub fn is_a_suspend(&self) -> bool
pub fn is_a_suspend(&self) -> bool
Checks if the value of the field is A_SUSPEND
sourcepub fn is_a_peripheral(&self) -> bool
pub fn is_a_peripheral(&self) -> bool
Checks if the value of the field is A_PERIPHERAL
sourcepub fn is_a_wait_vfall(&self) -> bool
pub fn is_a_wait_vfall(&self) -> bool
Checks if the value of the field is A_WAIT_VFALL
sourcepub fn is_a_vbus_err(&self) -> bool
pub fn is_a_vbus_err(&self) -> bool
Checks if the value of the field is A_VBUS_ERR
sourcepub fn is_a_wait_discharge(&self) -> bool
pub fn is_a_wait_discharge(&self) -> bool
Checks if the value of the field is A_WAIT_DISCHARGE
sourcepub fn is_b_peripheral(&self) -> bool
pub fn is_b_peripheral(&self) -> bool
Checks if the value of the field is B_PERIPHERAL
sourcepub fn is_b_wait_begin_hnp(&self) -> bool
pub fn is_b_wait_begin_hnp(&self) -> bool
Checks if the value of the field is B_WAIT_BEGIN_HNP
sourcepub fn is_b_wait_discharge(&self) -> bool
pub fn is_b_wait_discharge(&self) -> bool
Checks if the value of the field is B_WAIT_DISCHARGE
sourcepub fn is_b_wait_acon(&self) -> bool
pub fn is_b_wait_acon(&self) -> bool
Checks if the value of the field is B_WAIT_ACON
sourcepub fn is_b_srp_init(&self) -> bool
pub fn is_b_srp_init(&self) -> bool
Checks if the value of the field is B_SRP_INIT