Enum lpc13xx::iocon::pio0_2::ODR [] [src]

pub enum ODR {
    STANDARD_GPIO_OUTPUT,
    OPEN_DRAIN_OUTPUT,
}

Possible values of the field OD

Variants

Standard GPIO output

Open-drain output

Methods

impl ODR
[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 STANDARD_GPIO_OUTPUT

[src]

Checks if the value of the field is OPEN_DRAIN_OUTPUT

Trait Implementations

impl Clone for ODR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ODR
[src]

impl Debug for ODR
[src]

[src]

Formats the value using the given formatter. Read more

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

impl Sync for ODR