Functions | Variables
i2c.c File Reference
#include "LPC214x.h"
#include "type.h"
#include "irq.h"
#include "i2c.h"
Include dependency graph for i2c.c:

Go to the source code of this file.

Functions

void I2C0_send_motordata (void)
void I2C0MasterHandler (void)
unsigned int I2CEngine (void)
void I2CInit (unsigned int I2cMode)
unsigned int I2CStart (void)
unsigned int I2CStop (void)

Variables

DWORD I2CCmd
DWORD I2CCount = 0
BYTE I2CMasterBuffer [BUFSIZE]
DWORD I2CMasterState = I2C_IDLE
DWORD I2CMode
DWORD I2CReadLength
BYTE I2CSlaveBuffer [BUFSIZE]
DWORD I2CSlaveState = I2C_IDLE
DWORD I2CWriteLength
DWORD RdIndex = 0
DWORD WrIndex = 0

Function Documentation

void I2C0_send_motordata ( void  )

Definition at line 162 of file i2c.c.

void I2C0MasterHandler ( void  )

Definition at line 52 of file i2c.c.

unsigned int I2CEngine ( void  )

Definition at line 277 of file i2c.c.

void I2CInit ( unsigned int  I2cMode)

Definition at line 247 of file i2c.c.

unsigned int I2CStart ( void  )

Definition at line 191 of file i2c.c.

unsigned int I2CStop ( void  )

Definition at line 227 of file i2c.c.


Variable Documentation

Definition at line 20 of file i2c.c.

Definition at line 25 of file i2c.c.

Definition at line 23 of file i2c.c.

Definition at line 17 of file i2c.c.

Definition at line 21 of file i2c.c.

Definition at line 26 of file i2c.c.

Definition at line 24 of file i2c.c.

Definition at line 18 of file i2c.c.

Definition at line 27 of file i2c.c.

Definition at line 29 of file i2c.c.

Definition at line 30 of file i2c.c.



asctec_hl_firmware
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Jan 7 2014 11:05:19