ISSDK  1.8
IoT Sensing Software Development Kit
issdk_hal.h
Go to the documentation of this file.
1 /*
2  * Copyright 2020 NXP
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 /**
9  * @file issdk_hal.h
10  * @brief Wrapper for Hardware Abstraction Layer (HAL)
11 
12  This file simply provides one level of indirection for the developer
13  to select the particular Hardware Abstraction Layer they would like to use.
14 */
15 
16 #ifndef __ISSDK_HAL_H__
17 #define __ISSDK_HAL_H__
18 
19 #include "evkmimxrt1170.h" //Include appropriate MCU board header file
20 #include "frdm_stbc_agm01_shield.h" //Include appropriate sensor shield board header file
21 
22 #include "fsl_lpi2c_cmsis.h"
23 #include "fsl_lpspi_cmsis.h"
24 #include "fsl_lpuart_cmsis.h"
25 
26 // Pin mapping and driver information for default I2C brought to shield
27 // By default, we use I2C_S2 defined in the evkmimxrt1060.h file.
28 // Other options: I2C_S1.
29 // S1 is on A5:4. S2 is on D15:14.
30 #define I2C_S_SCL_PIN I2C_S2_SCL_PIN
31 #define I2C_S_SDA_PIN I2C_S2_SDA_PIN
32 #define I2C_S_DRIVER I2C_S2_DRIVER
33 #define I2C_S_SIGNAL_EVENT I2C_S2_SIGNAL_EVENT
34 #define I2C_S_DEVICE_INDEX I2C_S2_DEVICE_INDEX
35 
36 #endif // __ISSDK_HAL_H__
The evkmimxrt1170.h file defines GPIO pin mappings for evkmimxrt1170 board.