Enum lpc82x::i2c0::cfg::TIMEOUTENR [] [src]

pub enum TIMEOUTENR {
    DISABLED,
    ENABLED,
}

Possible values of the field TIMEOUTEN

Variants

Disabled. Time-out function is disabled.

Enabled. Time-out function is enabled. Both types of time-out flags will be generated and will cause interrupts if they are enabled. Typically, only one time-out will be used in a system.

Methods

impl TIMEOUTENR
[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 DISABLED

[src]

Checks if the value of the field is ENABLED

Trait Implementations

impl Clone for TIMEOUTENR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TIMEOUTENR
[src]

impl Debug for TIMEOUTENR
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for TIMEOUTENR
[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 !=.