VSF Documented
vsf_remapped_wdt.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 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
18#ifndef __VSF_REMAPPED_WDT_H__
19#define __VSF_REMAPPED_WDT_H__
20
21/*============================ INCLUDES ======================================*/
22
23#include "hal/vsf_hal_cfg.h"
24
25#if VSF_HAL_USE_WDT == ENABLED
26
27#if VSF_WDT_CFG_MULTI_CLASS == ENABLED
28
29#if defined(__VSF_REMAPPED_WDT_CLASS_IMPLEMENT)
30# undef __VSF_REMAPPED_WDT_CLASS_IMPLEMENT
31# define __VSF_CLASS_IMPLEMENT__
32#elif defined(__VSF_REMAPPED_WDT_CLASS_INHERIT__)
33# undef __VSF_REMAPPED_WDT_CLASS_INHERIT__
34# define __VSF_CLASS_INHERIT__
35#endif
36
37#include "utilities/ooc_class.h"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43/*============================ MACROS ========================================*/
44
45#ifndef VSF_REMAPPED_WDT_CFG_MULTI_CLASS
46# define VSF_REMAPPED_WDT_CFG_MULTI_CLASS VSF_WDT_CFG_MULTI_CLASS
47#endif
48
49/*============================ MACROFIED FUNCTIONS ===========================*/
50/*============================ TYPES =========================================*/
51
53#if VSF_REMAPPED_WDT_CFG_MULTI_CLASS == ENABLED
54 public_member(
55 implement(vsf_wdt_t)
56 )
57#endif
58 public_member(
59 vsf_wdt_t *target;
60 )
61};
62
63/*============================ GLOBAL VARIABLES ==============================*/
64
65#if VSF_REMAPPED_WDT_CFG_MULTI_CLASS == ENABLED
67#endif
68
69/*============================ PROTOTYPES ====================================*/
70/*============================ INCLUDES ======================================*/
71
72
73#define VSF_WDT_CFG_DEC_PREFIX vsf_remapped
74#define VSF_WDT_CFG_DEC_UPCASE_PREFIX VSF_REMAPPED
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif // VSF_WDT_CFG_MULTI_CLASS
82#endif // VSF_HAL_USE_WDT
83#endif
84/* EOF */
85
Definition vsf_remapped_wdt.h:52
#define vsf_class(__name)
Definition ooc_class.h:48
Definition vsf_template_wdt.h:157
Definition vsf_template_wdt.h:165
const vsf_wdt_op_t vsf_remapped_wdt_op
Definition vsf_remapped_wdt.c:37