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