ISF
2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
isf_sysconf_comms.h
Go to the documentation of this file.
1
/*!
2
********************************************************************************
3
* File: isf_sysconf_comms.h
4
*
5
* Copyright (c) 2013, 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_target.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_I2C_CH1
= 0,
// <*!CommChannel0 */
31
COMM_CHANNEL_UART_CH1
= 1,
// <*!CommChannel1 */
32
COMM_CHANNEL_SPI_CH1
= 2,
// <*!CommChannel2 */
33
SYS_NUM_CHANNEL_IDS
/*!< The number of channels in the system. */
34
};
35
36
37
38
#endif
/* SYSCONF_COMMS_H */
39
isf_target.h
ISF board support header files.
COMM_CHANNEL_UART_CH1
Definition:
isf_sysconf_comms.h:31
SYS_NUM_CHANNEL_IDS
Definition:
isf_sysconf_comms.h:33
COMM_CHANNEL_INTERNAL
Definition:
isf_sysconf_comms.h:29
uint32
unsigned long uint32
This defines uint32 as unsigned long.
Definition:
isf_types.h:36
COMM_CHANNEL_SPI_CH1
Definition:
isf_sysconf_comms.h:32
COMM_CHANNEL_I2C_CH1
Definition:
isf_sysconf_comms.h:30
get_ci_comm
uint32 get_ci_comm(void)
Definition:
isf_sysconf_comms.c:128
© Freescale Semiconductor, Inc. 2015. All Rights Reserved.