1 /* 2 * Copyright (c) 2021-2022 Bestechnic (Shanghai) Co., Ltd. All rights reserved. 3 * 4 * This file is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef BES_WATCHDOG_H 10 #define BES_WATCHDOG_H 11 12 #include "hal_wdt.h" 13 #include "watchdog_core.h" 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 struct WatchdogResource { 20 enum HAL_WDT_ID_T watchdogId; 21 }; 22 23 struct WatchdogDevice { 24 struct WatchdogResource resource; 25 }; 26 27 #ifdef __cplusplus 28 } 29 #endif 30 #endif 31