[][src]Module ruspiro_register::register

Register abstraction implementation

The provided implementation details of the register access abstraction are used by the corresponding macros of this crate. It is preferred to use the macros to properly define the registers to be used.

Structs

ReadOnly

This struct allows read only access to a register.

ReadWrite

This struct allows read/write access to a register.

RegisterField

Definition of a field contained inside of a register. Each field is defined by a mask and the bit shift value when constructing the field definition the stored mask is already shifted by the shift value

RegisterFieldValue

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

WriteOnly

This struct allows write only access to a register.

Traits

RegisterType

This trait is used to describe the register size/length as type specifier. The trait is only implemented for the internal types u8, u16, u32 and u64 to ensure safe register access sizes with compile time checking