Crate ruspiro_arch_aarch64[][src]

Expand description

RusPiRo Aarch64 specific API

This crate provides access to Aarch64 system registers as well as specific usefull aarch64 assembly instructions



Aarch64 - System Register


Macro to define an Aarch64 system register and its fields


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

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


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