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

source

pub fn variant(&self) -> Option<PORT_TEST_CONTROL_A>

Get enumerated values variant

source

pub fn is_not_operating(&self) -> bool

Checks if the value of the field is NOT_OPERATING

source

pub fn is_test_j_state(&self) -> bool

Checks if the value of the field is TEST_J_STATE

source

pub fn is_test_k_state(&self) -> bool

Checks if the value of the field is TEST_K_STATE

source

pub fn is_test_se0_nak(&self) -> bool

Checks if the value of the field is TEST_SE0_NAK

source

pub fn is_test_packet(&self) -> bool

Checks if the value of the field is TEST_PACKET

source

pub fn is_test_force_enable(&self) -> bool

Checks if the value of the field is TEST_FORCE_ENABLE