Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
wdg_pal_mapping.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017-2018 NXP
3
* All rights reserved.
4
*
5
* THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR
6
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
7
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
8
* IN NO EVENT SHALL NXP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
9
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
10
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
11
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
12
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
13
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
14
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
15
* THE POSSIBILITY OF SUCH DAMAGE.
16
*/
17
30
#ifndef WDG_PAL_MAPPING_H
31
#define WDG_PAL_MAPPING_H
32
33
#include "
device_registers.h
"
34
45
typedef
enum
46
{
47
#if defined(WDOG_INSTANCE_COUNT)
48
WDG_INST_TYPE_WDOG
= 0U,
49
#endif
/* defined(WDOG_INSTANCE_COUNT) */
50
51
#if defined(EWM_INSTANCE_COUNT)
52
WDG_INST_TYPE_EWM = 1U,
53
#endif
/* defined(EWM_INSTANCE_COUNT) */
54
55
#if defined(SWT_INSTANCE_COUNT)
56
WDG_INST_TYPE_SWT = 2U
57
#endif
/* defined(SWT_INSTANCE_COUNT) */
58
}
wdg_inst_type_t
;
59
66
typedef
struct
{
67
wdg_inst_type_t
instType
;
68
uint32_t
instIdx
;
69
}
wdg_instance_t
;
70
71
#endif
/* WDG_PAL_MAPPING_H */
device_registers.h
wdg_instance_t
Structure storing PAL instance information.
Definition:
wdg_pal_mapping.h:66
wdg_inst_type_t
wdg_inst_type_t
Enumeration with the types of peripherals supported by Watchdog PAL.
Definition:
wdg_pal_mapping.h:45
wdg_instance_t::instType
wdg_inst_type_t instType
Definition:
wdg_pal_mapping.h:67
wdg_instance_t::instIdx
uint32_t instIdx
Definition:
wdg_pal_mapping.h:68
WDG_INST_TYPE_WDOG
Definition:
wdg_pal_mapping.h:48
platform
pal
wdg
inc
wdg_pal_mapping.h
Generated on Fri Apr 27 2018 19:10:06 for S32 SDK by
1.8.10