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

pub enum ENPECR {
    DISABLED,
    ENABLED,
}

Possible values of the field ENPEC

Variants

PEC calculation disabled

PEC calculation enabled

Methods

impl ENPECR
[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 ENPECR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ENPECR
[src]

impl Debug for ENPECR
[src]

Formats the value using the given formatter. Read more

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

impl Sync for ENPECR