Добавлен watchdog таймер

This commit is contained in:
2025-03-04 09:39:24 +03:00
parent 324c26e559
commit a5a14679f3
8 changed files with 183 additions and 39 deletions

View File

@@ -66,12 +66,13 @@ void SVC_Handler(void)
void PendSV_Handler(void)
{
}
#include "iwdg.h"
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void)
{
HAL_IWDG_Refresh(&hiwdg);
HAL_IncTick();
}