Struct atsam4lc8b_pac::usbc::usbfsm::DRDSTATE_R[][src]

pub struct DRDSTATE_R(_);
Expand description

Field DRDSTATE reader - DualRoleDevice state

Implementations

Get enumerated values variant

Checks if the value of the field is A_IDLE

Checks if the value of the field is A_WAIT_VRISE

Checks if the value of the field is A_WAIT_BCON

Checks if the value of the field is A_HOST

Checks if the value of the field is A_SUSPEND

Checks if the value of the field is A_PERIPHERAL

Checks if the value of the field is A_WAIT_VFALL

Checks if the value of the field is A_VBUS_ERR

Checks if the value of the field is A_WAIT_DISCHARGE

Checks if the value of the field is B_IDLE

Checks if the value of the field is B_PERIPHERAL

Checks if the value of the field is B_WAIT_BEGIN_HNP

Checks if the value of the field is B_WAIT_DISCHARGE

Checks if the value of the field is B_WAIT_ACON

Checks if the value of the field is B_HOST

Checks if the value of the field is B_SRP_INIT

Methods from Deref<Target = FieldReader<u8, DRDSTATE_A>>

Reads raw bits from field.

Value of the field as raw bits.

Returns true if the bit is clear (0).

Returns true if the bit is set (1).

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.