Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
pwm_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
18
#ifndef PWM_PAL_mapping_H
19
#define PWM_PAL_mapping_H
20
#include "
device_registers.h
"
21
28
typedef
enum
{
29
#if defined(FTM_INSTANCE_COUNT)
30
PWM_INST_TYPE_FTM
= 0u,
31
#endif
32
33
#if defined(eMIOS_INSTANCE_COUNT)
34
PWM_INST_TYPE_EMIOS = 1u,
35
#endif
36
37
#if defined(ETIMER_INSTANCE_COUNT)
38
PWM_INST_TYPE_ETIMER = 2u,
39
#endif
40
41
}
pwm_inst_type_t
;
42
49
typedef
struct
{
50
pwm_inst_type_t
instType
;
51
uint32_t
instIdx
;
52
}
pwm_instance_t
;
53
54
#endif
/* PWM_PAL_mapping_H */
device_registers.h
pwm_inst_type_t
pwm_inst_type_t
Enumeration with the types of peripherals supported by PWM PAL.
Definition:
pwm_pal_mapping.h:28
pwm_instance_t::instIdx
uint32_t instIdx
Definition:
pwm_pal_mapping.h:51
PWM_INST_TYPE_FTM
Definition:
pwm_pal_mapping.h:30
pwm_instance_t
Structure storing PAL instance information.
Definition:
pwm_pal_mapping.h:49
pwm_instance_t::instType
pwm_inst_type_t instType
Definition:
pwm_pal_mapping.h:50
platform
pal
pwm
inc
pwm_pal_mapping.h
Generated on Fri Apr 27 2018 19:10:06 for S32 SDK by
1.8.10