Type Alias d1_pac::usb1::ehci_operational::portsc::PORT_TEST_CONTROL_R
source · pub type PORT_TEST_CONTROL_R = FieldReader<u8, PORT_TEST_CONTROL_A>;
Expand description
Field port_test_control
reader - Port Test Control
The value in this field specifies the test mode of the port.
Aliased Type§
struct PORT_TEST_CONTROL_R { /* private fields */ }
Implementations§
source§impl PORT_TEST_CONTROL_R
impl PORT_TEST_CONTROL_R
sourcepub fn variant(&self) -> Option<PORT_TEST_CONTROL_A>
pub fn variant(&self) -> Option<PORT_TEST_CONTROL_A>
Get enumerated values variant
sourcepub fn is_not_operating(&self) -> bool
pub fn is_not_operating(&self) -> bool
Checks if the value of the field is NOT_OPERATING
sourcepub fn is_test_j_state(&self) -> bool
pub fn is_test_j_state(&self) -> bool
Checks if the value of the field is TEST_J_STATE
sourcepub fn is_test_k_state(&self) -> bool
pub fn is_test_k_state(&self) -> bool
Checks if the value of the field is TEST_K_STATE
sourcepub fn is_test_se0_nak(&self) -> bool
pub fn is_test_se0_nak(&self) -> bool
Checks if the value of the field is TEST_SE0_NAK
sourcepub fn is_test_packet(&self) -> bool
pub fn is_test_packet(&self) -> bool
Checks if the value of the field is TEST_PACKET
sourcepub fn is_test_force_enable(&self) -> bool
pub fn is_test_force_enable(&self) -> bool
Checks if the value of the field is TEST_FORCE_ENABLE