8 #ifndef ISF_FSL_I2C_PEX_H_
9 #define ISF_FSL_I2C_PEX_H_
14 typedef LDD_TDeviceData* (*fnI2CInit_t) (LDD_TUserData *apUserData);
22 typedef LDD_TError (*
fnI2CDeviceSelect_t) (LDD_TDeviceData *apDevice, LDD_I2C_TAddrType AddrType, LDD_I2C_TAddr Addr);
34 typedef LDD_TError (*
fnI2CRead_t) (LDD_TDeviceData *apDevice, LDD_TData *BufferPtr, LDD_I2C_TSize Size, LDD_I2C_TSendStop SendStops);
38 typedef LDD_TError (*
fnI2CWrite_t) (LDD_TDeviceData *apDevice, LDD_TData *BufferPtr, LDD_I2C_TSize Size, LDD_I2C_TSendStop SendStop);
fnI2CDeviceEnable_t fnI2CLLDdeviceEn
This structure contains i2c LLD function pointers.
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.
fnI2CDeint_t fnI2CLLDDeint
fnI2CWrite_t fnI2CLLDWrite
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.
fnI2CDeviceDisable_t fnI2CLLDdeviceDis
fnI2CDeviceSelect_t fnI2CLLDDeviceSelect
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.