| 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_extern.h
Go to the documentation of this file.
1 /**
2 * @file isf_sysconf_comms_extern.h
3 * @brief System Communications channel configuration
4 * @author Jim McGlasson and Abhilash Jacob
5 * @version 0.0
6 * @date 2012-08-01
7 *
8 * Copyright (c) 2013, Freescale, Inc.
9 */
10
11 #ifndef ISF_SYSCONF_COMMS_EXTERN_H
12 #define ISF_SYSCONF_COMMS_EXTERN_H
13
14 //#include "isf_user_config.h"
15 #include <isf_sysconf_types.h>
16
17 #include <isf_i2cconf_types.h>
18
19 /******************************************************************************
20 * INFORMATION FOR EACH CHANNELS
21 ******************************************************************************/
22
23
24 /******************************************************************************
25 * INFORMATION FOR I2C CHANNELS
26 ******************************************************************************/
27 extern const i2c_BusConfig_t gSys_I2cBusConfig[]; // Bus configuration for the I2C
28 extern const i2c_BusRegInfo_t gSys_I2cRegInfo[]; // Register information of the i2c
29 extern const uint8 gSys_NumI2cBuses; // Number of the i2c buses
30 extern i2c_BusInfo_t gSys_I2cBusInfo[]; // Bus information for the each i2c buses
31
32 /******************************************************************************
33 * INFORMATION FOR GPIO CHANNELS
34 ******************************************************************************/
35
36 #if ISF_COMPONENT_GPIO
37 #define NUM_GPIO_PINS (16)
38 #define NUM_ROWS NUM_GPIO_PINS
39 #define NUM_COLS 2
40 #define GPIO_PIN_MUX_MASK (0)
41 #define GPIO_PIN_MUX_VALUE (1)
42 extern const uint8 gNumGpioBuses; // Number of GPIO busses
43 extern const gpioBusConfig_t gSysGpioBusConfig[]; // GPIO Bus Configurations
44 extern const gpioRegLayout_t gSysGpioRegLayout; // GPIO Register Layout
45 extern gpioBusInfo_t gSysGpioBusInfo[]; // Bus Info for each GPIO bus
46 extern vuint8 *const gpioPinMuxRegTable[];
47 extern const uint8 gpioPinMaskValueTable[NUM_ROWS][NUM_COLS];
48 // Macros used in Kinetis specific array definitions.
49
50 #endif
51
52 // Available channels
53 extern const sys_channelDescriptor_t gSys_ConfiguredChannelList[]; // Channel configuration list
54 extern const uint8 gSys_NumChannels; // Number of the channels in the system
55
56
57
58 #endif /* ISF_SYSCONF_COMMS_EXTERN_H */
59
gSys_I2cRegInfo
const i2c_BusRegInfo_t gSys_I2cRegInfo[]
uint8
unsigned char uint8
This defines uint8 as unsigned char.
Definition: isf_types.h:18
gSys_I2cBusConfig
const i2c_BusConfig_t gSys_I2cBusConfig[]
Definition: isf_sysconf_comms.c:26
vuint8
volatile unsigned char vuint8
This defines vuint8 as volatile unsigned char.
Definition: isf_types.h:20
gSys_ConfiguredChannelList
const sys_channelDescriptor_t gSys_ConfiguredChannelList[]
Definition: isf_sysconf_comms.c:105
gSys_NumChannels
const uint8 gSys_NumChannels
Definition: isf_sysconf_comms.c:133
gSys_I2cBusInfo
i2c_BusInfo_t gSys_I2cBusInfo[]
sys_channelDescriptor_t
This structure defines the channel descriptor.
Definition: isf_sysconf_types.h:33
isf_sysconf_types.h
This file defines the configuration types and structures for the system communication channel...
gSys_NumI2cBuses
const uint8 gSys_NumI2cBuses
Definition: isf_sysconf_comms.c:34
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.