Initial import of STM32 IoT sensor node
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#ifndef __IWDG_H
|
||||
#define __IWDG_H
|
||||
|
||||
#include <stm32f10x_conf.h>
|
||||
|
||||
// 独立看门狗初始化,参数为重置的时长 ms
|
||||
void iwdg_init(int ms);
|
||||
|
||||
// 喂狗函数
|
||||
void iwdg_feed_dog(void);
|
||||
|
||||
#endif // __IWDG_H
|
||||
Reference in New Issue
Block a user