Register facilities are defined in the microlibrary static library’s
microlibrary/register.h/microlibrary/register.cc
header/source file pair.
The ::microlibrary::Register class is used to declare a memory-mapped register.
::microlibrary::Register is an alias for the
::microlibrary::Testing::Automated::Mock_Register when MICROLIBRARY_TARGET is
DEVELOPMENT_ENVIRONMENT.
Register access is restricted to the following operations:
The ::microlibrary::Testing::Automated::Mock_Register mock register class is available
if MICROLIBRARY_TARGET is DEVELOPMENT_ENVIRONMENT.
The mock is defined in the
microlibrary/testing/automated/register.h/microlibrary/testing/automated/register.cc
header/source file pair.
The ::microlibrary::Reserved_Register class is used to declare a memory-mapped reserved
register.
Reserved registers cannot be accessed.
The ::microlibrary::Read_Only_Register class is used to declare a memory-mapped
read-only register.
::microlibrary::Read_Only_Register is an alias for the
::microlibrary::Testing::Automated::Mock_Read_Only_Register when MICROLIBRARY_TARGET
is DEVELOPMENT_ENVIRONMENT.
Register access is restricted to the following operations:
The ::microlibrary::Testing::Automated::Mock_Read_Only_Register mock register class is
available if MICROLIBRARY_TARGET is DEVELOPMENT_ENVIRONMENT.
The mock is defined in the
microlibrary/testing/automated/register.h/microlibrary/testing/automated/register.cc
header/source file pair.
The ::microlibrary::Write_Only_Register class is used to declare a memory-mapped
write-only register.
::microlibrary::Write_Only_Register is an alias for the
::microlibrary::Testing::Automated::Mock_Write_Only_Register when MICROLIBRARY_TARGET
is DEVELOPMENT_ENVIRONMENT.
Register access is restricted to the following operations:
The ::microlibrary::Testing::Automated::Mock_Write_Only_Register mock register class is
available if MICROLIBRARY_TARGET is DEVELOPMENT_ENVIRONMENT.
The mock is defined in the
microlibrary/testing/automated/register.h/microlibrary/testing/automated/register.cc
header/source file pair.