pub enum OA2MSKR {
    NOMASK,
    MASK_1,
    MASK_2,
    MASK_3,
    MASK_4,
    MASK_5,
    MASK_6,
    MASK_7,
}
Expand description

Possible values of the field OA2MSK

Variants

NOMASK

No mask

MASK_1

OA2[1] is masked and don’t care. Only OA2[7:2] are compared

MASK_2

OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared

MASK_3

OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared

MASK_4

OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared

MASK_5

OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared

MASK_6

OA2[6:1] are masked and don’t care. Only OA2[7] is compared.

MASK_7

OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

Implementations

Value of the field as raw bits

Checks if the value of the field is NOMASK

Checks if the value of the field is MASK_1

Checks if the value of the field is MASK_2

Checks if the value of the field is MASK_3

Checks if the value of the field is MASK_4

Checks if the value of the field is MASK_5

Checks if the value of the field is MASK_6

Checks if the value of the field is MASK_7

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.