Samsung Internal API reference  2.0
tee_i2c.h File Reference

TEE I2C public API. More...

Go to the source code of this file.

Data Structures

struct  TEES_I2CTransfer
 I2C data transfer buffer. More...
 

Typedefs

typedef struct __TEES_I2CHandlerImpl * TEES_I2CHandler
 

Functions

TEE_Result TEES_I2CInit (const char *name, uint32_t transac_len, TEES_I2CHandler *handler)
 Initialize I2C device and set transfer parameters to handler. More...
 
TEE_Result TEES_I2CExit (TEES_I2CHandler handler)
 Terminate connection to I2C device. More...
 
TEE_Result TEES_I2CWrite (TEES_I2CHandler handler, uint8_t chip, TEES_I2CTransfer *tx)
 Write data buffer tx to initialized I2C device. More...
 
TEE_Result TEES_I2CRead (TEES_I2CHandler handler, uint8_t chip, TEES_I2CTransfer *rx)
 Read data buffer rx from initialized I2C device. More...
 
TEE_Result TEES_I2CWriteRead (TEES_I2CHandler handler, uint8_t chip, TEES_I2CTransfer *tx, TEES_I2CTransfer *rx)
 Write data buffer tx and read buffer rx from initialized I2C device at the same time. More...
 

Detailed Description

TEE I2C public API.