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

pub enum ACKR {
    NAK,
    ACK,
}

Possible values of the field ACK

Variants

No acknowledge returned

Acknowledge returned after a byte is received

Methods

impl ACKR
[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 NAK

Checks if the value of the field is ACK

Trait Implementations

impl Clone for ACKR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ACKR
[src]

impl Debug for ACKR
[src]

Formats the value using the given formatter. Read more

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

impl Sync for ACKR