Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
i2s_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 I2S_PAL_MAPPING_H
29
#define I2S_PAL_MAPPING_H
30
#include "
device_registers.h
"
31
#include "i2s_pal_cfg.h"
32
33
#ifdef I2S_OVER_SAI
34
#include "sai_driver.h"
35
#endif
/* I2S_OVER_SAI */
36
37
#ifdef I2S_OVER_FLEXIO
38
#include "
flexio_i2s_driver.h
"
39
#endif
/* I2S_OVER_FLEXIO */
40
47
typedef
enum
{
48
#ifdef I2S_OVER_SAI
49
I2S_INST_TYPE_SAI = 0u,
50
#endif
/* I2S_OVER_SAI */
51
52
#ifdef I2S_OVER_FLEXIO
53
I2S_INST_TYPE_FLEXIO = 1u
54
#endif
/* I2S_OVER_FLEXIO */
55
}
i2s_inst_type_t
;
56
57
63
typedef
struct
{
64
i2s_inst_type_t
instType
;
65
uint32_t
instIdx
;
66
}
i2s_instance_t
;
67
#endif
/* I2S_PAL_MAPPING_H */
device_registers.h
i2s_inst_type_t
i2s_inst_type_t
Enumeration with the types of peripherals supported by Timing PAL.
Definition:
i2s_pal_mapping.h:47
i2s_instance_t
Structure storing PAL instance information.
Definition:
i2s_pal_mapping.h:63
i2s_instance_t::instIdx
uint32_t instIdx
Definition:
i2s_pal_mapping.h:65
flexio_i2s_driver.h
i2s_instance_t::instType
i2s_inst_type_t instType
Definition:
i2s_pal_mapping.h:64
platform
pal
i2s
inc
i2s_pal_mapping.h
Generated on Fri Apr 27 2018 19:10:06 for S32 SDK by
1.8.10