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 15 - Software reset

Bit 13 - SMBus alert

Bit 12 - Packet error checking

Bit 11 - Acknowledge/PEC Position (for data reception)

Bit 10 - Acknowledge enable

Bit 9 - Stop generation

Bit 8 - Start generation

Bit 7 - Clock stretching disable (Slave mode)

Bit 6 - General call enable

Bit 5 - PEC enable

Bit 4 - ARP enable

Bit 3 - SMBus type

Bit 1 - SMBus mode

Bit 0 - Peripheral enable

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.