00001 //fpgaconfi2c.h 00002 int fi2c_writeData(unsigned char theSlave, unsigned char *theData, int size); 00003 00004 int fi2c_readData(unsigned char theSlave, unsigned char *theData, int size); 00005 00006 int fi2c_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg); 00007 00008 int setClockFreq(int nclock, int freq); 00009 int getClockFreq(int nclock); 00010 void initPortB(void); 00011