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

pub enum UIR {
    ST,
    CLEAR,
}

Possible values of the field UI

Variants

This bit is cleared by software writing a one to it.

This bit is set by the Host/Device Controller when the cause of an interrupt is a completion of a USB transaction where the Transfer Descriptor (TD) has an interrupt on complete (IOC) bit set. This bit is also set by the Host/Device Controller when a short packet is detected. A short packet is when the actual number of bytes received was less than the expected number of bytes.

Methods

impl UIR
[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 ST

[src]

Checks if the value of the field is CLEAR

Trait Implementations

impl Clone for UIR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for UIR
[src]

impl Debug for UIR
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for UIR
[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 UIR

impl Sync for UIR