Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
can_pal_mapping.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017 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
28
#ifndef CAN_PAL_MAPPING_H
29
#define CAN_PAL_MAPPING_H
30
31
#include "
device_registers.h
"
32
#include "can_pal_cfg.h"
33
34
/* Include PD files */
35
#if (defined(CAN_OVER_FLEXCAN))
36
#include "
flexcan_driver.h
"
37
#endif
38
45
typedef
enum
{
46
#if defined(CAN_INSTANCE_COUNT)
47
CAN_INST_TYPE_FLEXCAN
= 0u,
48
#endif
/* defined(CAN_INSTANCE_COUNT) */
49
}
can_inst_type_t
;
50
57
typedef
struct
{
58
can_inst_type_t
instType
;
59
uint32_t
instIdx
;
60
}
can_instance_t
;
61
62
#endif
/* CAN_PAL_MAPPING_H */
can_inst_type_t
can_inst_type_t
Enumeration with the types of peripherals supported by CAN PAL.
Definition:
can_pal_mapping.h:45
can_instance_t::instType
can_inst_type_t instType
Definition:
can_pal_mapping.h:58
device_registers.h
flexcan_driver.h
can_instance_t
Structure storing PAL instance information.
Definition:
can_pal_mapping.h:57
can_instance_t::instIdx
uint32_t instIdx
Definition:
can_pal_mapping.h:59
CAN_INST_TYPE_FLEXCAN
Definition:
can_pal_mapping.h:47
platform
pal
can
inc
can_pal_mapping.h
Generated on Fri Apr 27 2018 19:10:06 for S32 SDK by
1.8.10