HWA
Bare metal programming with style
|
A class _coreb
object is a core of the device.
It is used in:
configure
:
wait, irq
: puts the core into sleeping mode
stat
: returns the status flags of the core in a structure whose typename is given by the hw_stat_t()
instruction. Available flags are
porf
or reset_by_power_on
1 if reset was caused by power-onextrf
or reset_by_reset_pin
1 if reset was caused by external pin RESETborf
or reset_by_brown_out
1 if reset was caused by brown-out detectionwdrf
or reset_by_watchdog
1 if reset was caused by watchdog
clear
: