| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

isf_sysconf_comms.h
Go to the documentation of this file.
1 /*!
2 ********************************************************************************
3 * File: isf_sysconf_comms.h
4 *
5 * Copyright (c) 2015, Freescale Semiconductor, Inc.
6 *
7 *******************************************************************************/
8 /*!
9 * @file isf_sysconf_comms.h
10 * @brief This file defines the system configuration for the communication channel.
11 */
12 #ifndef ISF_SYSCONF_COMMS_H
13 #define ISF_SYSCONF_COMMS_H
14 #include "isf.h"
15 uint32 get_ci_comm(void);
16 /******************************************************************************
17 * GENERAL CHANNEL INFORMATION FOR THE SYSTEM
18 ******************************************************************************/
19
20 /*! @brief Declaration of the actual channels available for a particular device.
21 * These enums are indexes into the ::gSys_ConfiguredChannelList array and
22 * facilitate accessing channel configuration data
23 */
24
25 // Number of communications channels: 3
26
27 // Defined buses
28 enum {
29 COMM_CHANNEL_INTERNAL = 255, /*!< The channel ID for the on-board accelerometer channel. */
30 COMM_CHANNEL_I2C1 = 0, // <*!Comm Channel */
31 COMM_CHANNEL_SPI1 = 1, // <*!Comm Channel */
32 COMM_CHANNEL_UART2 = 2, // <*!Comm Channel */
33 SYS_NUM_CHANNEL_IDS /*!< The number of channels in the system. */
34 };
35
36
37
38 #endif /* SYSCONF_COMMS_H */
39
COMM_CHANNEL_INTERNAL
Definition: isf_sysconf_comms.h:29
SYS_NUM_CHANNEL_IDS
Definition: isf_sysconf_comms.h:33
COMM_CHANNEL_I2C1
Definition: isf_sysconf_comms.h:30
COMM_CHANNEL_UART2
Definition: isf_sysconf_comms.h:32
isf.h
Main ISF header file. Contains code common to all ISF components.
uint32
unsigned long int uint32
Definition: isf_types.h:78
COMM_CHANNEL_SPI1
Definition: isf_sysconf_comms.h:31
get_ci_comm
uint32 get_ci_comm(void)
Definition: isf_sysconf_comms.c:93
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.