ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
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  *
7  * Copyright (c) 2015, Freescale, Inc.
8  */
9 
10 #ifndef ISF_SYSCONF_COMMS_EXTERN_H
11 #define ISF_SYSCONF_COMMS_EXTERN_H
12 
13 //#include "isf_user_config.h"
14 #include <isf_sysconf_types.h>
15 
16 /******************************************************************************
17  * INFORMATION FOR EACH CHANNELS
18  ******************************************************************************/
19 
20 
21 /******************************************************************************
22  * INFORMATION FOR I2C CHANNELS
23  ******************************************************************************/
24 extern const i2c_BusConfig_t gSys_I2cBusConfig[]; // Bus configuration for the I2C
25 extern const i2c_BusRegInfo_t gSys_I2cRegInfo[]; // Register information of the i2c
26 extern const uint8 gSys_NumI2cBuses; // Number of the i2c buses
27 extern i2c_BusInfo_t gSys_I2cBusInfo[]; // Bus information for the each i2c buses
28 
29 /******************************************************************************
30  * INFORMATION FOR GPIO CHANNELS
31  ******************************************************************************/
32 
33 #if ISF_COMPONENT_GPIO
34 #define NUM_GPIO_PINS (16)
35 #define NUM_ROWS NUM_GPIO_PINS
36 #define NUM_COLS 2
37 #define GPIO_PIN_MUX_MASK (0)
38 #define GPIO_PIN_MUX_VALUE (1)
39 extern const uint8 gNumGpioBuses; // Number of GPIO busses
40 extern const gpioBusConfig_t gSysGpioBusConfig[]; // GPIO Bus Configurations
41 extern const gpioRegLayout_t gSysGpioRegLayout; // GPIO Register Layout
42 extern gpioBusInfo_t gSysGpioBusInfo[]; // Bus Info for each GPIO bus
43 extern vuint8 *const gpioPinMuxRegTable[];
44 extern const uint8 gpioPinMaskValueTable[NUM_ROWS][NUM_COLS];
45 // Macros used in Kinetis specific array definitions.
46 
47 #endif
48 
49 // Available channels
50 extern const sys_channelDescriptor_t gSys_ConfiguredChannelList[]; // Channel configuration list
51 extern const uint8 gSys_NumChannels; // Number of the channels in the system
52 
53 
54 
55 #endif /* ISF_SYSCONF_COMMS_EXTERN_H */
56 
const i2c_BusRegInfo_t gSys_I2cRegInfo[]
unsigned char uint8
Definition: isf_types.h:76
const i2c_BusConfig_t gSys_I2cBusConfig[]
volatile unsigned char vuint8
This defines uint8 as unsigned char.
Definition: isf_types.h:24
const sys_channelDescriptor_t gSys_ConfiguredChannelList[]
const uint8 gSys_NumChannels
i2c_BusInfo_t gSys_I2cBusInfo[]
This structure defines the channel descriptor.
This file defines the configuration types and structures for the system communication channel...
const uint8 gSys_NumI2cBuses