Struct stm32g0::stm32g0c1::i2c1::i2c_oar2::OA2MSK_W[][src]

pub struct OA2MSK_W<'a> { /* fields omitted */ }
Expand description

Field OA2MSK writer - Own Address 2 masks Note: These bits can be written only when OA2EN=0. As soon as OA2MSK is not equal to 0, the reserved I2C addresses (0b0000xxx and 0b1111xxx) are not acknowledged even if the comparison matches.

Implementations

Writes variant to the field

No mask

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

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

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

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

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

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

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

Writes raw bits to the field

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

Performs the conversion.

Performs the conversion.

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.