VSF Documented
wdt.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2024 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 ****************************************************************************/
16
17#ifndef __HAL_DRIVER_ARTERY_AT32F402_405_WDT_H__
18#define __HAL_DRIVER_ARTERY_AT32F402_405_WDT_H__
19
20/*============================ INCLUDES ======================================*/
21
22#include "hal/vsf_hal_cfg.h"
23
24#if VSF_HAL_USE_WDT == ENABLED
25
26// HW/IPCore
28// HW/IPCore end
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/*============================ MACROS ========================================*/
35
36// HW
37#define VSF_WDT_CFG_REIMPLEMENT_TYPE_MODE ENABLED
38#define VSF_WDT_CFG_REIMPLEMENT_TYPE_CFG DISABLED
39#define VSF_WDT_CFG_REIMPLEMENT_TYPE_CAPABILITY DISABLED
40
41/*============================ MACROFIED FUNCTIONS ===========================*/
42/*============================ TYPES =========================================*/
43
44// HW/IPCore, not for emulated drivers
45#if VSF_WDT_CFG_REIMPLEMENT_TYPE_MODE == ENABLED
46typedef enum vsf_wdt_mode_t {
53#endif
54
55
56// HW/IPCore end
57
58/*============================ INCLUDES ======================================*/
59
60#ifdef __cplusplus
61}
62#endif
63
64#endif // VSF_HAL_USE_WDT
65#endif // __HAL_DRIVER_ARTERY_AT32F402_405_WDT_H__
66/* EOF */
vsf_wdt_mode_t
Definition wdt.h:31
@ VSF_WDT_MODE_RESET_SOC
Definition wdt.h:36
@ VSF_WDT_MODE_NO_EARLY_WAKEUP
Definition wdt.h:32
@ VSF_WDT_MODE_RESET_CPU
Definition wdt.h:37
@ VSF_WDT_MODE_RESET_NONE
Definition wdt.h:38
@ VSF_WDT_MODE_EARLY_WAKEUP
Definition wdt.h:33
Generated from commit: vsfteam/vsf@b2e9e8a