From 00596182fc5625242df99be1285336d39a472186 Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Fri, 3 Sep 2021 10:29:00 +0200 Subject: [PATCH] drivers: hwinfo: add reset causes Add reset causes for temperature (e.g. overheating), hardware faults and a user initiated reset. Signed-off-by: Pieter De Gendt --- include/drivers/hwinfo.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/drivers/hwinfo.h b/include/drivers/hwinfo.h index 81dc27ad1a7..2efcbab299d 100644 --- a/include/drivers/hwinfo.h +++ b/include/drivers/hwinfo.h @@ -42,6 +42,9 @@ extern "C" { #define RESET_PARITY BIT(9) #define RESET_PLL BIT(10) #define RESET_CLOCK BIT(11) +#define RESET_HARDWARE BIT(12) +#define RESET_USER BIT(13) +#define RESET_TEMPERATURE BIT(14) /** * @brief Copy the device id to a buffer