pub struct W(_);
Expand description

Register CTL0 writer

Implementations

Bit 15 - Software reset I2C

Bit 13 - SMBus alert

Bit 12 - PEC Transfer

Bit 11 - Position of ACK meaning

Bit 10 - Whether or not to send an ACK

Bit 9 - Generate a STOP condition on I2C bus

Bit 8 - Generate a START condition on I2C bus

Bit 7 - Whether to stretch SCL low when data is not ready in slave mode

Bit 6 - Whether or not to response to a General Call (0x00)

Bit 5 - PEC Calculation Switch

Bit 4 - ARP protocol in SMBus switch

Bit 3 - SMBusType Selection

Bit 1 - SMBus/I2C mode switch

Bit 0 - I2C peripheral enable

Writes raw bits to the register.

Methods from Deref<Target = W<CTL0_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Converts to this type from the input type.

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.

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.