ISSDK
1.7
IoT Sensing Software Development Kit
boardkit
frdm-k64f
frdm-fxs-mult2-b
issdk_hal.h
Go to the documentation of this file.
1
/*
2
* The Clear BSD License
3
* Copyright (c) 2016, Freescale Semiconductor, Inc.
4
* Copyright 2016-2017 NXP
5
* All rights reserved.
6
*
7
* Redistribution and use in source and binary forms, with or without modification,
8
* are permitted (subject to the limitations in the disclaimer below) provided
9
* that the following conditions are met:
10
*
11
* o Redistributions of source code must retain the above copyright notice, this list
12
* of conditions and the following disclaimer.
13
*
14
* o Redistributions in binary form must reproduce the above copyright notice, this
15
* list of conditions and the following disclaimer in the documentation and/or
16
* other materials provided with the distribution.
17
*
18
* o Neither the name of the copyright holder nor the names of its
19
* contributors may be used to endorse or promote products derived from this
20
* software without specific prior written permission.
21
*
22
* NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE.
23
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
27
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
30
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
*/
34
35
/**
36
* @file issdk_hal.h
37
* @brief Wrapper for Hardware Abstraction Layer (HAL)
38
39
This file simply provides one level of indirection for the developer
40
to select the particular Hardware Abstraction Layer they would like to use.
41
*/
42
43
#ifndef __ISSDK_HAL_H__
44
#define __ISSDK_HAL_H__
45
46
#include "fsl_i2c_cmsis.h"
47
#include "fsl_dspi_cmsis.h"
48
#include "fsl_uart_cmsis.h"
49
50
#include "
frdm_k64f.h
"
//Include appropriate MCU board header file
51
#include "
frdm_fxs_mult2b_shield.h
"
//Include appropriate sensor shield board header file
52
53
// Pin mapping and driver information for default I2C brought to shield
54
// By default, we use I2C_S1 defined in the FRDM_K64F.h file.
55
// Other options: I2C_S2.
56
// S1 is on A5:4. S2 is on D15:14.
57
#define I2C_S_SCL_PIN I2C_S1_SCL_PIN
58
#define I2C_S_SDA_PIN I2C_S1_SDA_PIN
59
#define I2C_S_DRIVER I2C_S1_DRIVER
60
#define I2C_S_SIGNAL_EVENT I2C_S1_SIGNAL_EVENT
61
#define I2C_S_DEVICE_INDEX I2C_S1_DEVICE_INDEX
62
63
#endif // __ISSDK_HAL_H__
frdm_fxs_mult2b_shield.h
frdm_k64f.h
The frdm_k64f.h file defines GPIO pin mappings for FRDM-K64F board.
© Freescale Semiconductor, Inc. 2016-2017. All Rights Reserved.