1 /*
2  * Copyright (c) 2018-2019, STMicroelectronics - All Rights Reserved
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef STM32_IWDG_H
8 #define STM32_IWDG_H
9 
10 #include <stdint.h>
11 
12 #define IWDG_HW_ENABLED			BIT(0)
13 #define IWDG_DISABLE_ON_STOP		BIT(1)
14 #define IWDG_DISABLE_ON_STANDBY		BIT(2)
15 
16 int stm32_iwdg_init(void);
17 void stm32_iwdg_refresh(void);
18 
19 #endif /* STM32_IWDG_H */
20