![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
看门狗驱动文件 更多...
结构体 | |
struct | iwdg_register_t |
宏定义 | |
#define | WDOGLOCK_REG (*(volatile unsigned int *)(HAL_IWDG_BASE + 0x0c00)) |
#define | IWDG_UNLOCK_MAGIC_NUMBER (0x1ACCE551) |
#define | IWDG_LOCK_MAGIC_NUMBER (1) |
#define | IWDG_WRITE_UNLOCK (WDOGLOCK_REG = IWDG_UNLOCK_MAGIC_NUMBER) |
#define | IWDG_WRITE_LOCK (WDOGLOCK_REG = IWDG_LOCK_MAGIC_NUMBER) |
函数 | |
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_irqhander (void) |
中断处理函数 更多... | |
看门狗驱动文件
struct iwdg_register_t |
#define IWDG_LOCK_MAGIC_NUMBER (1) |
#define IWDG_UNLOCK_MAGIC_NUMBER (0x1ACCE551) |
#define IWDG_WRITE_LOCK (WDOGLOCK_REG = IWDG_LOCK_MAGIC_NUMBER) |
#define IWDG_WRITE_UNLOCK (WDOGLOCK_REG = IWDG_UNLOCK_MAGIC_NUMBER) |
#define WDOGLOCK_REG (*(volatile unsigned int *)(HAL_IWDG_BASE + 0x0c00)) |