Closed abhaysbharadwaj closed 1 year ago
Hello, I understand that by reading the RCC_CSR registers, we can understand what caused the microcontroller to reset. Example:
RESET_CAUSE_LOW_POWER_RESET, RESET_CAUSE_WINDOW_WATCHDOG_RESET, RESET_CAUSE_INDEPENDENT_WATCHDOG_RESET, RESET_CAUSE_SOFTWARE_RESET, RESET_CAUSE_POWER_ON_POWER_DOWN_RESET, RESET_CAUSE_EXTERNAL_RESET_PIN_RESET, RESET_CAUSE_BROWNOUT_RESET,
How can I access this in the void setup() part of my code?
Issues are not a general support forum.
Try posting to STM's STM32 community forum
https://community.st.com/s/topic/0TO0X000000BSqSWAW/stm32-mcus
Hello, I understand that by reading the RCC_CSR registers, we can understand what caused the microcontroller to reset. Example:
How can I access this in the void setup() part of my code?