1 /* 2 * Copyright 2022 NXP 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 /*! \file issdk_hal.h 9 \brief Wrapper for Hardware Abstraction Layer (HAL) 10 11 This file simply provides one level of indirection for the developer 12 to select the particular Hardware Abstraction Layer they would like to use. 13 */ 14 15 #ifndef __ISSDK_HAL_H__ 16 #define __ISSDK_HAL_H__ 17 18 #include "fsl_lpi2c_cmsis.h" 19 #include "fsl_lpspi_cmsis.h" 20 #include "fsl_lpuart_cmsis.h" 21 22 #include "kw45b41zevk.h" //Include appropriate MCU board header file 23 #include "frdm_stba_a896x_shield.h" //Include appropriate sensor shield board header file 24 25 // Pin mapping and driver information for default I2C brought to shield 26 // By default, we use I2C_S1 defined in the frdm_k22f.h file. 27 // Other options: I2C_S2. 28 // S1 is on A5:4. S2 is on D15:14. 29 #define I2C_S_DRIVER I2C_S2_DRIVER 30 #define I2C_S_SIGNAL_EVENT I2C_S2_SIGNAL_EVENT 31 #define I2C_S_DEVICE_INDEX I2C_S2_DEVICE_INDEX 32 33 #endif // __ISSDK_HAL_H__ 34