Enum lpc43xx::usb1::usbsts_h::HCHR [] [src]

pub enum HCHR {
    RS,
    STOP,
}

Possible values of the field HCH

Variants

The RS bit in USBCMD is set to zero. Set by the host controller.

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]

[src]

Returns true if the bit is clear (0)

[src]

Returns true if the bit is set (1)

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is RS

[src]

Checks if the value of the field is STOP

Trait Implementations

impl Clone for HCHR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for HCHR
[src]

impl Debug for HCHR
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for HCHR
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

Auto Trait Implementations

impl Send for HCHR

impl Sync for HCHR