[−][src]Enum sam3x8e::uotghs::fsm::DRDSTATER
Possible values of the field DRDSTATE
Variants
A_IDLESTATE
This is the start state for A-devices (when the ID pin is 0)
A_WAIT_VRISE
In this state, the A-device waits for the voltage on VBus to rise above the A-device VBus Valid threshold (4.4 V).
A_WAIT_BCON
In this state, the A-device waits for the B-device to signal a connection.
A_HOST
In this state, the A-device that operates in Host mode is operational.
A_SUSPEND
The A-device operating as a host is in the suspend mode.
A_PERIPHERAL
The A-device operates as a peripheral.
A_WAIT_VFALL
In this state, the A-device waits for the voltage on VBus to drop below the A-device Session Valid threshold (1.4 V).
A_VBUS_ERR
In this state, the A-device waits for recovery of the over-current condition that caused it to enter this state.
A_WAIT_DISCHARGE
In this state, the A-device waits for the data USB line to discharge (100 us).
B_IDLE
This is the start state for B-device (when the ID pin is 1).
B_PERIPHERAL
In this state, the B-device acts as the peripheral.
B_WAIT_BEGIN_HNP
In this state, the B-device is in suspend mode and waits until 3 ms before initiating the HNP protocol if requested.
B_WAIT_DISCHARGE
In this state, the B-device waits for the data USB line to discharge (100 us) before becoming Host.
B_WAIT_ACON
In this state, the B-device waits for the A-device to signal a connect before becoming B-Host.
B_HOST
In this state, the B-device acts as the Host.
B_SRP_INIT
In this state, the B-device attempts to start a session using the SRP protocol.
Methods
impl DRDSTATER
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_a_idlestate(&self) -> bool
[src]
Checks if the value of the field is A_IDLESTATE
pub fn is_a_wait_vrise(&self) -> bool
[src]
Checks if the value of the field is A_WAIT_VRISE
pub fn is_a_wait_bcon(&self) -> bool
[src]
Checks if the value of the field is A_WAIT_BCON
pub fn is_a_host(&self) -> bool
[src]
Checks if the value of the field is A_HOST
pub fn is_a_suspend(&self) -> bool
[src]
Checks if the value of the field is A_SUSPEND
pub fn is_a_peripheral(&self) -> bool
[src]
Checks if the value of the field is A_PERIPHERAL
pub fn is_a_wait_vfall(&self) -> bool
[src]
Checks if the value of the field is A_WAIT_VFALL
pub fn is_a_vbus_err(&self) -> bool
[src]
Checks if the value of the field is A_VBUS_ERR
pub fn is_a_wait_discharge(&self) -> bool
[src]
Checks if the value of the field is A_WAIT_DISCHARGE
pub fn is_b_idle(&self) -> bool
[src]
Checks if the value of the field is B_IDLE
pub fn is_b_peripheral(&self) -> bool
[src]
Checks if the value of the field is B_PERIPHERAL
pub fn is_b_wait_begin_hnp(&self) -> bool
[src]
Checks if the value of the field is B_WAIT_BEGIN_HNP
pub fn is_b_wait_discharge(&self) -> bool
[src]
Checks if the value of the field is B_WAIT_DISCHARGE
pub fn is_b_wait_acon(&self) -> bool
[src]
Checks if the value of the field is B_WAIT_ACON
pub fn is_b_host(&self) -> bool
[src]
Checks if the value of the field is B_HOST
pub fn is_b_srp_init(&self) -> bool
[src]
Checks if the value of the field is B_SRP_INIT
Trait Implementations
impl Clone for DRDSTATER
[src]
fn clone(&self) -> DRDSTATER
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DRDSTATER
[src]
impl PartialEq<DRDSTATER> for DRDSTATER
[src]
fn eq(&self, other: &DRDSTATER) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for DRDSTATER
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,