LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
c_i2c.h File Reference
#include "lms2012.h"

Go to the source code of this file.

Enumerations

enum  { MODE2_SUCCESS = 0, MODE2_BOOTING = 1, MODE2_FALIURE = 2 }
 

Functions

RESULT I2cInit (READBUF *pBuf, WRITEBUF *pWriteBuf, char *pBundleId, char *pBundleSeedId)
 
void I2cExit (void)
 
void I2cStart (void)
 
void I2cStop (void)
 
UWORD DataToMode2Decoding (UBYTE *pBuf, UWORD Length)
 
UBYTE I2cGetBootStatus (void)
 

Enumeration Type Documentation

anonymous enum
Enumerator
MODE2_SUCCESS 
MODE2_BOOTING 
MODE2_FALIURE 

Definition at line 28 of file c_i2c.h.

Function Documentation

UWORD DataToMode2Decoding ( UBYTE pBuf,
UWORD  Length 
)

Definition at line 776 of file c_i2c.c.

void I2cExit ( void  )

Definition at line 188 of file c_i2c.c.

UBYTE I2cGetBootStatus ( void  )

Definition at line 809 of file c_i2c.c.

RESULT I2cInit ( READBUF pBuf,
WRITEBUF pWriteBuf,
char *  pBundleId,
char *  pBundleSeedId 
)

Definition at line 168 of file c_i2c.c.

void I2cStart ( void  )

Definition at line 198 of file c_i2c.c.

void I2cStop ( void  )

Definition at line 213 of file c_i2c.c.