pub struct PGA_GAIN_R(_);
Expand description

Field PGA_GAIN reader - Gain in PGA mode

Implementations

Get enumerated values variant

Checks if the value of the field is GAIN2

Checks if the value of the field is GAIN4

Checks if the value of the field is GAIN8

Checks if the value of the field is GAIN16

Checks if the value of the field is GAIN2_VM0

Checks if the value of the field is GAIN4_VM0

Checks if the value of the field is GAIN8_VM0

Checks if the value of the field is GAIN16_VM0

Checks if the value of the field is GAIN2_VM1

Checks if the value of the field is GAIN4_VM1

Checks if the value of the field is GAIN8_VM1

Checks if the value of the field is GAIN16_VM1

Methods from Deref<Target = FieldReader<u8, PGA_GAIN_A>>

Reads raw bits from field.

Value of the field as raw bits.

Returns true if the bit is clear (0).

Returns true if the bit is set (1).

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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.