$search

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 161 of file i2c.c.

void I2C0MasterHandler ( void   ) 

Definition at line 51 of file i2c.c.

unsigned int I2CEngine ( void   ) 

Definition at line 276 of file i2c.c.

void I2CInit ( unsigned int  I2cMode  ) 

Definition at line 246 of file i2c.c.

unsigned int I2CStart ( void   ) 

Definition at line 190 of file i2c.c.

unsigned int I2CStop ( void   ) 

Definition at line 226 of file i2c.c.


Variable Documentation

Definition at line 19 of file i2c.c.

Definition at line 24 of file i2c.c.

Definition at line 22 of file i2c.c.

DWORD I2CMasterState = I2C_IDLE

Definition at line 16 of file i2c.c.

Definition at line 20 of file i2c.c.

Definition at line 25 of file i2c.c.

BYTE I2CSlaveBuffer[BUFSIZE]

Definition at line 23 of file i2c.c.

DWORD I2CSlaveState = I2C_IDLE

Definition at line 17 of file i2c.c.

Definition at line 26 of file i2c.c.

Definition at line 28 of file i2c.c.

Definition at line 29 of file i2c.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


ccny_asctec_firmware_2
Author(s): Ivan Dryanovski, Roberto G. Valenti
autogenerated on Tue Mar 5 11:33:40 2013