![]() |
CI13LC SDK API手册
2.1.1
本手册用于描述CI13LC SDK各个组件和驱动API
|
看门狗驱动文件 更多...
#include "ci13lc.h"结构体 | |
| struct | iwdg_init_t |
| iwdg配置结构体 更多... | |
宏定义 | |
| #define | IWDG_S_COUNT (get_src_clk() / 16) |
| #define | IWDG_MS_COUNT (IWDG_S_COUNT / 1000) |
枚举 | |
| enum | iwdg_base_t { IWDG = (0x40032000) } |
| 控制器定义 更多... | |
| enum | iwdg_irqen_t { iwdg_irqen_enable = 1, iwdg_irqen_disable = 0 } |
| 中断开关定义 更多... | |
| enum | iwdg_resen_t { iwdg_resen_enable = 1, iwdg_resen_disable = 0 } |
| 复位开关定义 更多... | |
函数 | |
| void | iwdg_init (iwdg_base_t base, iwdg_init_t init) |
| iwdg初始化 更多... | |
| void | iwdg_open (iwdg_base_t base) |
| 打开iwdg 更多... | |
| void | iwdg_close (iwdg_base_t base) |
| 关闭iwdg 更多... | |
| void | iwdg_feed (iwdg_base_t base) |
| 喂狗函数 更多... | |
| void | iwdg_config_reset (iwdg_base_t base) |
| 仅配置复位和中断(烧录efuse默认打开了iwdg,中途烧录会关闭iwdg,用该接口就能重新启动iwdg) 更多... | |
| void | iwdg_irqhander (void) |
| 中断处理函数 更多... | |
看门狗驱动文件
1.8.14