Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
mpu_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 MPU_PAL_MAPPING_H
31
#define MPU_PAL_MAPPING_H
32
33
#include "
device_registers.h
"
34
#include "mpu_pal_cfg.h"
35
36
/* Include PD files */
37
#if defined(MPU_OVER_MPU)
38
#include "
mpu_driver.h
"
39
#elif defined(MPU_OVER_SMPU)
40
#include "smpu_driver.h"
41
#endif
42
54
typedef
enum
55
{
56
#if defined(MPU_INSTANCE_COUNT)
57
MPU_INST_TYPE_MPU
= 0U,
58
#endif
/* defined(MPU_INSTANCE_COUNT) */
59
60
#if defined(SMPU_INSTANCE_COUNT)
61
MPU_INST_TYPE_SMPU = 1U,
62
#endif
/* defined(SMPU_INSTANCE_COUNT) */
63
}
mpu_inst_type_t
;
64
71
typedef
struct
72
{
73
mpu_inst_type_t
instType
;
74
uint32_t
instIdx
;
75
}
mpu_instance_t
;
76
77
#endif
/* MPU_PAL_MAPPING_H */
78
mpu_instance_t
Structure storing PAL instance information.
Definition:
mpu_pal_mapping.h:71
mpu_driver.h
device_registers.h
mpu_instance_t::instType
mpu_inst_type_t instType
Definition:
mpu_pal_mapping.h:73
mpu_instance_t::instIdx
uint32_t instIdx
Definition:
mpu_pal_mapping.h:74
MPU_INST_TYPE_MPU
Definition:
mpu_pal_mapping.h:57
mpu_inst_type_t
mpu_inst_type_t
Enumeration with the types of peripherals supported by MPU PAL.
Definition:
mpu_pal_mapping.h:54
platform
pal
mpu
inc
mpu_pal_mapping.h
Generated on Fri Apr 27 2018 19:10:06 for S32 SDK by
1.8.10