Closed apcountryman closed 2 months ago
Add write-only register.
libraries/microlibrary/ANY/ANY/include/microlibrary/register.h
libraries/microlibrary/ANY/ANY/source/microlibrary/register.cc
::microlibrary::Write_Only_Register
libraries/microlibrary/ANY/DEVELOPMENT_ENVIRONMENT/include/microlibrary/testing/automated/register.h
libraries/microlibrary/ANY/DEVELOPMENT_ENVIRONMENT/source/microlibrary/testing/automated/register.cc
::microlibrary::Testing::Automated::Mock_Write_Only_Register
docs/register.md
MICROLIBRARY_TARGET_IS_DEVELOPMENT_ENVIRONMENT
typename T
using Type = T;
auto operator=( Type expression ) noexcept -> Write_Only_Register &;
Add write-only register.
libraries/microlibrary/ANY/ANY/include/microlibrary/register.h
/libraries/microlibrary/ANY/ANY/source/microlibrary/register.cc
(update)::microlibrary::Write_Only_Register
template class::microlibrary::Write_Only_Register
alias templatelibraries/microlibrary/ANY/DEVELOPMENT_ENVIRONMENT/include/microlibrary/testing/automated/register.h
/libraries/microlibrary/ANY/DEVELOPMENT_ENVIRONMENT/source/microlibrary/testing/automated/register.cc
(update)::microlibrary::Testing::Automated::Mock_Write_Only_Register
template classdocs/register.md
(update)::microlibrary::Write_Only_Register
template class should be defined ifMICROLIBRARY_TARGET_IS_DEVELOPMENT_ENVIRONMENT
is false::microlibrary::Write_Only_Register
alias template should be defined ifMICROLIBRARY_TARGET_IS_DEVELOPMENT_ENVIRONMENT
is true::microlibrary::Write_Only_Register
template class should have the following template parameters:typename T
: The register's underlying integral type::microlibrary::Write_Only_Register
template class should be packed::microlibrary::Write_Only_Register
template class should have the following member types:using Type = T;
: The register's underlying integral type::microlibrary::Write_Only_Register
template class should support the following operations:auto operator=( Type expression ) noexcept -> Write_Only_Register &;
::microlibrary::Write_Only_Register
alias template should have the following template parameters:typename T
: The register's underlying integral type::microlibrary::Write_Only_Register
alias template should be an alias for::microlibrary::Testing::Automated::Mock_Write_Only_Register