microlibrary

Register Facilities

Microchip megaAVR 0-series register facilities are defined in the microlibrary static library’s microlibrary/microchip/megaavr0/register.h/microlibrary/microchip/megaavr0/register.cc header/source file pair.

Table of Contents

  1. Protected Register

Protected Register

The ::microlibrary::Microchip::megaAVR0::Protected_Register class is used to declare a memory-mapped protected register. ::microlibrary::Microchip::megaAVR0::Protected_Register is an alias for ::microlibrary::Testing::Automated::Mock_Register when MICROLIBRARY_TARGET is DEVELOPMENT_ENVIRONMENT. Register access is restricted to the following operations: