21 #define TWDG_CLK (get_apb_clk()) 68 void TWDG_test(
int mode,
int ms_windowLowper,
int ms_windowUpper);
Definition: ci130x_TimerWdt.h:45
Definition: ci130x_TimerWdt.h:46
unsigned int upper
Definition: ci130x_TimerWdt.h:54
void TWDG_test(int mode, int ms_windowLowper, int ms_windowUpper)
时间看门狗测试程序
Definition: ci130x_TimerWdt.c:139
void TWDG_disable(void)
关闭时间看门狗
Definition: ci130x_TimerWdt.c:97
void TWDG_IRQHandler(void)
看门狗中断服务函数
Definition: ci130x_TimerWdt.c:159
unsigned int scale
Definition: ci130x_TimerWdt.h:52
Definition: ci130x_TimerWdt.h:40
unsigned int mode
Definition: ci130x_TimerWdt.h:55
Definition: ci130x_TimerWdt.h:33
void TWDG_init(TWDG_InitTypeDef *initStruct)
初始化配置时间看门狗
Definition: ci130x_TimerWdt.c:76
Definition: ci130x_TimerWdt.h:34
Definition: ci130x_TimerWdt.h:39
Definition: ci130x_TimerWdt.h:50
unsigned int TWDG_counter(void)
获取counter值
Definition: ci130x_TimerWdt.c:109
void TWDG_service(void)
看门狗service
Definition: ci130x_TimerWdt.c:125
unsigned int lower
Definition: ci130x_TimerWdt.h:53