feat: H7 support (#5738)
Co-authored-by: Richard Li <richard.li@ces.hk> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
Richard Li
philmoz
raphaelcoeffic
parent
5a15ffb017
commit
3d25c2a0f8
@@ -41,6 +41,12 @@ void abnormalRebootDisableDetection();
|
||||
// (see AbnormalRebootCause)
|
||||
uint32_t abnormalRebootGetCause();
|
||||
|
||||
// Retrieve last reboot command
|
||||
uint32_t abnormalRebootGetCmd();
|
||||
|
||||
// Reset reboot command
|
||||
void abnormalRebootResetCmd();
|
||||
|
||||
#define UNEXPECTED_SHUTDOWN() \
|
||||
(abnormalRebootGetCause() == ARC_Watchdog)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user