15 lines
360 B
C
15 lines
360 B
C
#ifndef __IWDG_H
|
||
#define __IWDG_H
|
||
|
||
/**
|
||
* @brief 独立看门狗 HAL 封装(参数见 Shared/iwdg_config.h)
|
||
*
|
||
* Bootloader 跳转前可能已启动 IWDG;APP 须在 HAL_Init 后尽早 iwdg_init()。
|
||
* 时钟配置勿关闭 LSI,详见 app_boot.c 中 app_system_clock_config()。
|
||
*/
|
||
|
||
void iwdg_init(void);
|
||
void iwdg_feed(void);
|
||
|
||
#endif /* __IWDG_H */
|