Struct stm32f072_hal::stm32::i2c1::cr2::W

source ·
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Reset value of the register

Writes raw bits to the register

Bit 26 - Packet error checking byte

Bit 25 - Automatic end mode (master mode)

Bit 24 - NBYTES reload mode

Bits 16:23 - Number of bytes

Bit 15 - NACK generation (slave mode)

Bit 14 - Stop generation (master mode)

Bit 13 - Start generation

Bit 12 - 10-bit address header only read direction (master receiver mode)

Bit 11 - 10-bit addressing mode (master mode)

Bit 10 - Transfer direction (master mode)

Bits 0:9 - Slave address bit 9:8 (master mode)

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.