Microchip megaAVR 0-series reset facilities are defined in the microlibrary static
library’s
microlibrary/microchip/megaavr0/reset.h/microlibrary/microchip/megaavr0/reset.cc
header/source file pair.
The ::microlibrary::Microchip::megaAVR0::Reset_Source class holds a Microchip megaAVR
0-series microcontroller’s reset source(s).
::microlibrary::Microchip::megaAVR0::Reset_Source::rstctrl_rstfr() member function.::microlibrary::Microchip::megaAVR0::Reset_Source::is_power_on_reset() member
function.::microlibrary::Microchip::megaAVR0::Reset_Source::is_brown_out_reset() member
function.::microlibrary::Microchip::megaAVR0::Reset_Source::is_external_reset() member
function.::microlibrary::Microchip::megaAVR0::Reset_Source::is_watchdog_reset() member
function.::microlibrary::Microchip::megaAVR0::Reset_Source::is_software_reset() member
function.::microlibrary::Microchip::megaAVR0::Reset_Source::is_updi_reset() member function.::microlibrary::Microchip::megaAVR0::Reset_Source automated tests are defined in the
test-automated-microlibrary-microchip-megaavr0-reset_source automated test executable’s
main.cc
source file.
The ::microlibrary::Microchip::megaAVR0::Reset_Controller reset controller class is used
to interact with a Microchip megaAVR 0-series microcontroller’s RSTCTRL peripheral.
::microlibrary::Microchip::megaAVR0::Reset_Controller::reset_source() member function.::microlibrary::Microchip::megaAVR0::Reset_Controller::clear_reset_source() member
function.::microlibrary::Microchip::megaAVR0::Reset_Controller::initiate_software_reset()
member function.::microlibrary::Microchip::megaAVR0::Reset_Controller automated tests are defined in the
test-automated-microlibrary-microchip-megaavr0-reset_controller automated test
executable’s
main.cc
source file.
The ::microlibrary::Testing::Automated::Microchip::megaAVR0::Mock_Reset_Controller mock
reset controller class is available if MICROLIBRARY_TARGET is DEVELOPMENT_ENVIRONMENT.
The mock is defined in the
microlibrary/testing/automated/microchip/megaavr0/reset.h/microlibrary/testing/automated/microchip/megaavr0/reset.cc
header/source file pair.