ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
isf_i2c_master_types.h
Go to the documentation of this file.
1 /*!
2 ********************************************************************************
3 * File: isf_i2c_master_types.h
4 *
5 * Copyright (c) 2014, Freescale Semiconductor, Inc.
6 *
7 *******************************************************************************/
8 /*!
9 * @file isf_i2c_master_types.h
10 * @brief \b isf_i2c_master_types.h defines the i2c master protocol adapter structure and types.
11 */
12 #ifndef ISF_I2C_MASTER_TYPES_H_
13 #define ISF_I2C_MASTER_TYPES_H_
14 #include "isf_types.h"
15 #include "isf.h"
16 #include "fsl_i2c_master_driver.h"
18  isf_duration_t timeout; /*!< The bus timeout value to use.*/
19  uint16 defaultSpeed; /*!< The speed at which to run the bus.*/
21 
22 /*! @brief This structure defines the data bus handle. */
24 {
25 
26  i2c_master_t master; /*!< The pointer to the i2c_master. */ // @todo check if *void is possible.
27  uint8 id; /*!< The unique ID associated with the bus handle. */
28  uint8 busState; /*!< The bus sate.*/
29  i2c_Master_BusConfig_t busConfig; /*!< current bus configuration.*/
31 
32 
33 #endif /* ISF_I2C_MASTER_TYPES_H_ */
34 
35 
unsigned char uint8
This defines uint8 as unsigned char.
Definition: isf_types.h:18
fsl_i2c_master_driver.h defines structures and types for the i2c master driver.
This structure defines the data bus handle.
i2c_Master_BusConfig_t busConfig
struct i2c_Master_BusHandle_struct i2c_Master_busHandle_t
This structure defines the data bus handle.
The isf_types.h file contains the ISF data type definitions and some of the globally used macros...
Internal driver state information.
uint32 isf_duration_t
ISF time duration in microseconds.
Definition: isf.h:59
Main ISF header file. Contains code common to all ISF components.
struct i2c_Master_BusConfig_struct i2c_Master_BusConfig_t
unsigned short uint16
This defines uint16 as unsigned short.
Definition: isf_types.h:27