CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
ci130x_iwdg.h
浏览该文件的文档.
1 
11 #ifndef _CI130X_IWDG_H_
12 #define _CI130X_IWDG_H_
13 
14 #include "ci130x_system.h"
15 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
30 typedef enum
31 {
34 
38 typedef enum
39 {
43 
47 typedef enum
48 {
52 
56 typedef struct
57 {
58  unsigned int count;
62 
64 void iwdg_init(iwdg_base_t base,iwdg_init_t init);
65 void iwdg_open(iwdg_base_t base);
66 void iwdg_close(iwdg_base_t base);
67 void iwdg_feed(iwdg_base_t base);
68 void iwdg_irqhander(void);
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 
78 #endif
iwdg_resen_t res
Definition: ci130x_iwdg.h:60
void iwdg_init(iwdg_base_t base, iwdg_init_t init)
iwdg初始化
Definition: ci130x_iwdg.c:39
Definition: ci130x_iwdg.h:32
Definition: ci130x_iwdg.h:40
iwdg_resen_t
复位开关定义
Definition: ci130x_iwdg.h:47
iwdg配置结构体
Definition: ci130x_iwdg.h:56
void iwdg_feed(iwdg_base_t base)
喂狗函数
Definition: ci130x_iwdg.c:88
Definition: ci130x_iwdg.h:41
Definition: ci130x_iwdg.h:50
iwdg_irqen_t irq
Definition: ci130x_iwdg.h:59
void iwdg_open(iwdg_base_t base)
打开iwdg
Definition: ci130x_iwdg.c:60
Definition: ci130x_iwdg.h:49
chip级定义
iwdg_base_t
控制器定义
Definition: ci130x_iwdg.h:30
void iwdg_close(iwdg_base_t base)
关闭iwdg
Definition: ci130x_iwdg.c:74
#define HAL_IWDG_BASE
Definition: ci130x_system.h:519
void iwdg_irqhander(void)
中断处理函数
Definition: ci130x_iwdg.c:106
iwdg_irqen_t
中断开关定义
Definition: ci130x_iwdg.h:38
unsigned int count
Definition: ci130x_iwdg.h:58