summaryrefslogtreecommitdiff
path: root/bsp/novosns/ns800/libraries/HAL_Drivers/drivers/drv_iwdg.h
blob: 2b17471be0f39807a376825ee5789af6ce5f4ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Copyright (c) 2006-2026, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author            Notes
 * 2026-05-13     Jeffery Yuan      first version
 */

#ifndef __DRV_IWDG_H__
#define __DRV_IWDG_H__

#include <rtdevice.h>
#include <board.h>

#ifdef __cplusplus
extern "C" {
#endif

#define IWDG1_DEVICE_NAME    "iwdg1"
#define IWDG2_DEVICE_NAME    "iwdg2"

int rt_hw_iwdg1_init(void);
int rt_hw_iwdg2_init(void);

#ifdef __cplusplus
}
#endif

#endif /* __DRV_IWDG_H__ */