ISSDK  1.8
IoT Sensing Software Development Kit
issdk_hal.h
Go to the documentation of this file.
1 /*
2  * Copyright 2018 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 "mekmimx8qm.h" //Include appropriate MCU board header file
20 
21 #include "fsl_lpi2c_cmsis.h"
22 #include "fsl_lpspi_cmsis.h"
23 #include "fsl_lpuart_cmsis.h"
24 
25 // Pin mapping and driver information for default BB I2C on board.
26 #define I2C_S_SCL_PIN I2C_BB_SCL_PIN
27 #define I2C_S_SDA_PIN I2C_BB_SDA_PIN
28 #define I2C_S_DRIVER I2C_BB_DRIVER
29 #define I2C_S_SIGNAL_EVENT I2C_BB_SIGNAL_EVENT
30 #define I2C_S_DEVICE_INDEX I2C_BB_DEVICE_INDEX
31 
32 #endif // __ISSDK_HAL_H__
The mekmimx8qm.h file defines GPIO pin mappings and on-board sensors information for mekmimx8qm board...