2#ifndef INCLUDE_GUARD__STM32_REBOOT_REASON_H
3#define INCLUDE_GUARD__STM32_REBOOT_REASON_H
char * STM32_reset_cause_enum_to_str(STM32_reset_cause_t reset_cause)
Convert a reset cause enum to a ASCII-printable name string.
Definition stm32_reboot_reason.c:79
STM32_reset_cause_t STM32_get_reset_cause(void)
Obtain the STM32 system reset cause.
Definition stm32_reboot_reason.c:12
enum STM32_reset_cause_e STM32_reset_cause_t
Possible STM32 system reset causes.
STM32_reset_cause_e
Possible STM32 system reset causes.
Definition stm32_reboot_reason.h:7
@ STM32_RESET_CAUSE_EXTERNAL_RESET_PIN_RESET
Definition stm32_reboot_reason.h:13
@ STM32_RESET_CAUSE_INDEPENDENT_WATCHDOG_RESET
Definition stm32_reboot_reason.h:11
@ STM32_RESET_CAUSE_OPTION_BYTE_LOADER_RESET
Definition stm32_reboot_reason.h:15
@ STM32_RESET_CAUSE_SOFTWARE_RESET
Definition stm32_reboot_reason.h:12
@ STM32_RESET_CAUSE_BROWNOUT_RESET
Definition stm32_reboot_reason.h:14
@ STM32_RESET_CAUSE_FIREWALL_RESET
Definition stm32_reboot_reason.h:16
@ STM32_RESET_CAUSE_LOW_POWER_RESET
Definition stm32_reboot_reason.h:9
@ STM32_RESET_CAUSE_WINDOW_WATCHDOG_RESET
Definition stm32_reboot_reason.h:10
@ STM32_RESET_CAUSE_UNKNOWN
Definition stm32_reboot_reason.h:8