Enum stm32f1::stm32f102::i2c1::cr1::PER[][src]

pub enum PER {
    DISABLED,
    ENABLED,
}

Possible values of the field PE

Variants

Peripheral disabled

Peripheral enabled

Methods

impl PER
[src]

Returns true if the bit is clear (0)

Returns true if the bit is set (1)

Value of the field as raw bits

Checks if the value of the field is DISABLED

Checks if the value of the field is ENABLED

Trait Implementations

impl Clone for PER
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PER
[src]

impl Debug for PER
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PER
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for PER

impl Sync for PER