ISSDK
1.8
IoT Sensing Software Development Kit
boardkit
frdm-k22f
frdm-stba-a896x
issdk_hal.h
Go to the documentation of this file.
1
/*
2
* Copyright 2021 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_i2c_cmsis.h"
19
#include "fsl_dspi_cmsis.h"
20
#include "fsl_uart_cmsis.h"
21
22
#include "
frdm_k22f.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_SCL_PIN I2C_S1_SCL_PIN
30
#define I2C_S_SDA_PIN I2C_S1_SDA_PIN
31
#define I2C_S_DRIVER I2C_S1_DRIVER
32
#define I2C_S_SIGNAL_EVENT I2C_S1_SIGNAL_EVENT
33
#define I2C_S_DEVICE_INDEX I2C_S1_DEVICE_INDEX
34
35
#endif // __ISSDK_HAL_H__
frdm_stba_a896x_shield.h
frdm_k22f.h
The frdm_k22f.h file defines GPIO pins for FRDM-K22F board.
© Copyright 2016-2020 NXP. All Rights Reserved.