Struct ruspiro_arch_aarch64::RegisterFieldValue[][src]

pub struct RegisterFieldValue<T> where
    T: RegisterType
{ /* fields omitted */ }
Expand description

Definition of a specific fieldvalue of a regiser. This structure allows to combine field values with bit operators like | and & to build the final value that should be written to a register

Implementations

Create a new fieldvalue based on the field definition and the value given

Create a new fieldvalue based on the field definition and the raw value given

Retrieve the register field value

Retrieve the register field raw value, means the value is returned in it’s position as it appears in the register when read with the field mask applied but not shifted

Retrieve the field mask used with this register field. The mask is shifted to it’s corresponding field position

Create a new fieldvalue based on the field definition and the value given

Create a new fieldvalue based on the field definition and the raw value given

Retrieve the register field value

Retrieve the register field raw value, means the value is returned in it’s position as it appears in the register when read with the field mask applied but not shifted

Retrieve the field mask used with this register field. The mask is shifted to it’s corresponding field position

Create a new fieldvalue based on the field definition and the value given

Create a new fieldvalue based on the field definition and the raw value given

Retrieve the register field value

Retrieve the register field raw value, means the value is returned in it’s position as it appears in the register when read with the field mask applied but not shifted

Retrieve the field mask used with this register field. The mask is shifted to it’s corresponding field position

Create a new fieldvalue based on the field definition and the value given

Create a new fieldvalue based on the field definition and the raw value given

Retrieve the register field value

Retrieve the register field raw value, means the value is returned in it’s position as it appears in the register when read with the field mask applied but not shifted

Retrieve the field mask used with this register field. The mask is shifted to it’s corresponding field position

Trait Implementations

The resulting type after applying the & operator.

Performs the & operation. Read more

The resulting type after applying the & operator.

Performs the & operation. Read more

The resulting type after applying the & operator.

Performs the & operation. Read more

The resulting type after applying the & operator.

Performs the & operation. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

The resulting type after applying the | operator.

Performs the | operation. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.