Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

/projects/cubeos/src_current/drivers/i2c/i2cd.c File Reference

#include <cubeos.h>
#include <mc68332.h>
#include <ivtab.h>
#include <i2cd.h>
#include <pcf8584.h>
#include <stdio.h>

Include dependency graph for i2cd.c:

Go to the source code of this file.

Functions

void GenerateStop (struct i2c *p, unsigned char mess)
 I2C driver internal function. More...

void _I2C_master_handler (struct i2c *p)
 internal I2C master queue handler. More...

void _I2C_slave_handler (struct i2c *p)
 internal I2C slave handler. More...

void I2C_inthandler (unsigned long minor)
 internal I2C interrupt handler. More...

int I2C_init (int which, unsigned long ioaddr)
 Initialize I2C. More...

int I2C_Start_I2C_Transfer (unsigned char which, struct i2cmess *msg)
 initiate an I2C transfer. More...

int I2C_slprocess (unsigned char which, struct i2cmess *msg)
 process I2C slave message. More...

int I2C_process (unsigned char whichBus, unsigned char whichQueue, struct i2cmess *msg)
 generic I2C processing function. More...

int I2C_messagestatus (struct i2cmess *msg)
 check the message status of an I2C message. More...

int I2C_scanbus (unsigned char bus)
 scan the I2C bus for devices. More...


Variables

i2c i2c [2]
 static host controller structure. More...


Variable Documentation

struct i2c i2c[2]
 

static host controller structure.

Definition at line 30 of file i2cd.c.


Generated on Thu Feb 20 15:38:49 2003 for cubeOS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002