Struct avr_device::atmega8::cpu::mcucr::SM_R[][src]

pub struct SM_R(_);
Expand description

Field SM reader - Sleep Mode Select

Implementations

Get enumerated values variant

Checks if the value of the field is IDLE

Checks if the value of the field is ADC

Checks if the value of the field is PDOWN

Checks if the value of the field is PSAVE

Checks if the value of the field is VAL_0X04

Checks if the value of the field is VAL_0X05

Checks if the value of the field is STDBY

Checks if the value of the field is VAL_0X07

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