Enum lpc43xx::usb1::usbsts_h::HCHR
[−]
[src]
pub enum HCHR { RS, STOP, }
Possible values of the field HCH
Variants
RS
The RS bit in USBCMD is set to zero. Set by the host controller.
STOP
The Host Controller sets this bit to one after it has stopped executing because of the Run/Stop bit being set to 0, either by software or by the Host Controller hardware (e.g. because of an internal error).
Methods
impl HCHR
[src]
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits
pub fn is_rs(&self) -> bool
[src]
Checks if the value of the field is RS
pub fn is_stop(&self) -> bool
[src]
Checks if the value of the field is STOP
Trait Implementations
impl Clone for HCHR
[src]
fn clone(&self) -> HCHR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for HCHR
[src]
impl Debug for HCHR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more