Skip to content

Commit b618cb1

Browse files
committed
add imx rt 1010 1015 1020 1050 1060 1064
1 parent 0eef498 commit b618cb1

File tree

970 files changed

+1947696
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

970 files changed

+1947696
-0
lines changed

sdk/devices/MIMXRT1011/MIMXRT1011.h

Lines changed: 31292 additions & 0 deletions
Large diffs are not rendered by default.

sdk/devices/MIMXRT1011/MIMXRT1011.xml

Lines changed: 110309 additions & 0 deletions
Large diffs are not rendered by default.

sdk/devices/MIMXRT1011/MIMXRT1011_features.h

Lines changed: 516 additions & 0 deletions
Large diffs are not rendered by default.
1.09 MB
Binary file not shown.

sdk/devices/MIMXRT1011/cmsis_drivers/fsl_lpi2c_cmsis.c

Lines changed: 2157 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*
2+
* Copyright (c) 2013-2016 ARM Limited. All rights reserved.
3+
* Copyright (c) 2016, Freescale Semiconductor, Inc. Not a Contribution.
4+
* Copyright 2016-2017 NXP. Not a Contribution.
5+
*
6+
* SPDX-License-Identifier: Apache-2.0
7+
*
8+
* Licensed under the Apache License, Version 2.0 (the License); you may
9+
* not use this file except in compliance with the License.
10+
* You may obtain a copy of the License at
11+
*
12+
* http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing, software
15+
* distributed under the License is distributed on an AS IS BASIS, WITHOUT
16+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
* See the License for the specific language governing permissions and
18+
* limitations under the License.
19+
*/
20+
21+
#ifndef _FSL_LPI2C_CMSIS_H_
22+
#define _FSL_LPI2C_CMSIS_H_
23+
24+
#include "fsl_common.h"
25+
#include "Driver_I2C.h"
26+
#include "RTE_Device.h"
27+
#include "fsl_lpi2c.h"
28+
#if (defined(FSL_FEATURE_SOC_DMAMUX_COUNT) && FSL_FEATURE_SOC_DMAMUX_COUNT)
29+
#include "fsl_dmamux.h"
30+
#endif
31+
#if (defined(FSL_FEATURE_SOC_DMA_COUNT) && FSL_FEATURE_SOC_DMA_COUNT)
32+
#include "fsl_lpi2c_dma.h"
33+
#endif
34+
#if (defined(FSL_FEATURE_SOC_EDMA_COUNT) && FSL_FEATURE_SOC_EDMA_COUNT)
35+
#include "fsl_lpi2c_edma.h"
36+
#endif
37+
38+
#if defined(LPI2C0)
39+
extern ARM_DRIVER_I2C Driver_I2C0;
40+
#endif /* LPI2C0 */
41+
42+
#if defined(LPI2C1)
43+
extern ARM_DRIVER_I2C Driver_I2C1;
44+
#endif /* LPI2C1 */
45+
46+
#if defined(LPI2C2)
47+
extern ARM_DRIVER_I2C Driver_I2C2;
48+
#endif /* LPI2C2 */
49+
50+
#if defined(LPI2C3)
51+
extern ARM_DRIVER_I2C Driver_I2C3;
52+
#endif /* LPI2C3 */
53+
54+
#if defined(LPI2C4)
55+
extern ARM_DRIVER_I2C Driver_I2C4;
56+
#endif /* LPI2C4 */
57+
58+
#if defined(LPI2C5)
59+
extern ARM_DRIVER_I2C Driver_I2C5;
60+
#endif /* LPI2C5*/
61+
62+
#if defined(LPI2C6)
63+
extern ARM_DRIVER_I2C Driver_I2C6;
64+
#endif /* LPI2C6 */
65+
66+
/* I2C Driver state flags */
67+
#define I2C_FLAG_UNINIT (0)
68+
#define I2C_FLAG_INIT (1 << 0)
69+
#define I2C_FLAG_POWER (1 << 1)
70+
71+
#endif /* _FSL_LPI2C_CMSIS_H_ */

0 commit comments

Comments
 (0)