26 lines
377 B
C
26 lines
377 B
C
#include "bsp_Wdg.h"
|
|
|
|
//#include "iwdg.h"
|
|
|
|
static void bsp_Wdg_Init(void);
|
|
static void bsp_Wdg_Feed(void);
|
|
|
|
bsp_Wdg_t Wdg =
|
|
{
|
|
.Init = bsp_Wdg_Init,
|
|
.Feed = bsp_Wdg_Feed,
|
|
};
|
|
|
|
bsp_Wdg_t *pWdg = &Wdg;
|
|
|
|
static void bsp_Wdg_Init(void)
|
|
{
|
|
// __HAL_DBGMCU_FREEZE_IWDG(); //调试模式下,冻结看门狗计数器时钟
|
|
}
|
|
|
|
static void bsp_Wdg_Feed(void)
|
|
{
|
|
// HAL_IWDG_Refresh(&hiwdg);
|
|
}
|
|
|