ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
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 
Main ISF header file. Contains code common to all ISF components.
unsigned long int uint32
Definition: isf_types.h:78
uint32 get_ci_comm(void)