Struct lpc845_pac::capt::ctrl::POLLMODE_R[][src]

pub struct POLLMODE_R(_);
Expand description

Field POLLMODE reader - Mode of operation. May only change from 0 to another value. So, if 2 or 3, must be changed to 0 1st. Any attempt to go from non-0 to non-0 will result in 0 anyway.

Implementations

Get enumerated values variant

Checks if the value of the field is NONE

Checks if the value of the field is POLL_NOW

Checks if the value of the field is NORMAL

Checks if the value of the field is LOW_POWER_MODE

Methods from Deref<Target = FieldReader<u8, POLLMODE_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

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.