Struct ruspiro_mmio_register::ReadWrite[][src]

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

This struct allows read/write access to a register.

Implementations

Create a new instance of the register access struct.

Read raw content of a register.

Read the value of a specific register field

Read the value of the register into a RegisterFieldValue structure

Write raw content value to the register.

Write the value of a specific register field, this will set all bits not coverd by this field to 0 !

Write the value of a given RegisterFieldValue to the register, this will set all bits not coverd by this field to 0 !

Udate a register field with a given value. The bits outside of this field remains untouched. The function returns the register raw value set has been set with this update

Udate a register field with a given register field value. The bits outside of this field remains untouched. The function returns the register raw value set has been set with this update

Create a new instance of the register access struct.

Read raw content of a register.

Read the value of a specific register field

Read the value of the register into a RegisterFieldValue structure

Write raw content value to the register.

Write the value of a specific register field, this will set all bits not coverd by this field to 0 !

Write the value of a given RegisterFieldValue to the register, this will set all bits not coverd by this field to 0 !

Udate a register field with a given value. The bits outside of this field remains untouched. The function returns the register raw value set has been set with this update

Udate a register field with a given register field value. The bits outside of this field remains untouched. The function returns the register raw value set has been set with this update

Create a new instance of the register access struct.

Read raw content of a register.

Read the value of a specific register field

Read the value of the register into a RegisterFieldValue structure

Write raw content value to the register.

Write the value of a specific register field, this will set all bits not coverd by this field to 0 !

Write the value of a given RegisterFieldValue to the register, this will set all bits not coverd by this field to 0 !

Udate a register field with a given value. The bits outside of this field remains untouched. The function returns the register raw value set has been set with this update

Udate a register field with a given register field value. The bits outside of this field remains untouched. The function returns the register raw value set has been set with this update

Create a new instance of the register access struct.

Read raw content of a register.

Read the value of a specific register field

Read the value of the register into a RegisterFieldValue structure

Write raw content value to the register.

Write the value of a specific register field, this will set all bits not coverd by this field to 0 !

Write the value of a given RegisterFieldValue to the register, this will set all bits not coverd by this field to 0 !

Udate a register field with a given value. The bits outside of this field remains untouched. The function returns the register raw value set has been set with this update

Udate a register field with a given register field value. The bits outside of this field remains untouched. The function returns the register raw value set has been set with this update

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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.