ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
isf_fsl_i2c_PEx.c File Reference

isf_fsl_i2c_PEx.c implements PEx properties and event. Its also implements LDD overriding events. More...

#include "isf_fsl_i2c_PEx.h"
#include "mqxlite.h"
#include "lwevent.h"
#include "fsl_i2c_master_driver.h"
#include "isf_i2c_master_adapter.h"
#include "I2CBUS1.h"
Include dependency graph for isf_fsl_i2c_PEx.c:

Go to the source code of this file.

Variables

const i2c_instance_PEx i2c_instance_tbl []
 Lookup table for the LLD instance. More...
 

Detailed Description

isf_fsl_i2c_PEx.c implements PEx properties and event. Its also implements LDD overriding events.

File:isf_fsl_i2c_PEx.c

Copyright (c) 2012-2014, Freescale Semiconductor, Inc.

Definition in file isf_fsl_i2c_PEx.c.

Variable Documentation

const i2c_instance_PEx i2c_instance_tbl[]
Initial value:
= {
{
.fnI2CLLDInit = (fnI2CInit_t)&I2CBUS1_Init,
.fnI2CLLDDeint = (fnI2CDeint_t)&I2CBUS1_Deinit,
.fnI2CLLDDeviceSelect = (fnI2CDeviceSelect_t)&I2CBUS1_SelectSlaveDevice,
.fnI2CLLDdeviceEn = (fnI2CDeviceEnable_t)&I2CBUS1_Enable,
.fnI2CLLDdeviceDis = (fnI2CDeviceDisable_t)&I2CBUS1_Disable,
.fnI2CLLDRead = (fnI2CRead_t)&I2CBUS1_MasterReceiveBlock,
.fnI2CLLDWrite = (fnI2CWrite_t)&I2CBUS1_MasterSendBlock,
}
}
LDD_TError(* fnI2CWrite_t)(LDD_TDeviceData *apDevice, LDD_TData *BufferPtr, LDD_I2C_TSize Size, LDD_I2C_TSendStop SendStop)
This is the the function pointer signature for writing the data to a specified device.
LDD_TError(* fnI2CDeviceEnable_t)(LDD_TDeviceData *apDevice)
This is the function pointer signature for enabling the device.
LDD_TDeviceData *(* fnI2CInit_t)(LDD_TUserData *apUserData)
This is the function pointer signature for i2c initialization.
LDD_TError(* fnI2CRead_t)(LDD_TDeviceData *apDevice, LDD_TData *BufferPtr, LDD_I2C_TSize Size, LDD_I2C_TSendStop SendStops)
This is the function pointer signature for reading the data from a specified device.
LDD_TError(* fnI2CDeviceDisable_t)(LDD_TDeviceData *apDevice)
This is the function pointer signature for disabling the device.
void(* fnI2CDeint_t)(LDD_TDeviceData *apDevice)
This is the function pointer signature for i2c de-initialization.
LDD_TError(* fnI2CDeviceSelect_t)(LDD_TDeviceData *apDevice, LDD_I2C_TAddrType AddrType, LDD_I2C_TAddr Addr)
This is the function pointer signature for selecting the device.

Lookup table for the LLD instance.

Definition at line 25 of file isf_fsl_i2c_PEx.c.