Type Alias d1_pac::usb1::ehci_operational::portsc::LINE_STATUS_R
source · pub type LINE_STATUS_R = FieldReader<u8, LINE_STATUS_A>;
Expand description
Field line_status
reader - Line Status
These bits relect the current logical levels of the D+ (bit11) and D- (bit10) signal lines. These bits are used for detection of low-speed USB devices prior to port reset and enable sequence. This read only field is valid only when the port enable bit is zero and the current connect status bit is set to a one.
Aliased Type§
struct LINE_STATUS_R { /* private fields */ }
Implementations§
source§impl LINE_STATUS_R
impl LINE_STATUS_R
sourcepub fn variant(&self) -> LINE_STATUS_A
pub fn variant(&self) -> LINE_STATUS_A
Get enumerated values variant
sourcepub fn is_j_state(&self) -> bool
pub fn is_j_state(&self) -> bool
Checks if the value of the field is J_STATE
sourcepub fn is_k_state(&self) -> bool
pub fn is_k_state(&self) -> bool
Checks if the value of the field is K_STATE
sourcepub fn is_undefined(&self) -> bool
pub fn is_undefined(&self) -> bool
Checks if the value of the field is UNDEFINED