OpenCores
URL https://opencores.org/ocsvn/mips32r1/mips32r1/trunk

Subversion Repositories mips32r1

[/] [mips32r1/] [trunk/] [Software/] [demos/] [XD2_Timer/] [src/] [drivers/] [i2c.h] - Rev 2

Compare with Previous | Blame | View Log

#ifndef __I2C_H__
#define __I2C_H__
 
#include <stdint.h>
 
#define I2C_ADDRESS 0x90000000
 
void I2C_clear(void);
void I2C_EnQ(uint8_t byte);
void I2C_transmit(void);
void I2C_setReceive(uint8_t bytes);
void I2C_receive(void);
uint32_t I2C_DeQ(void);
 
#endif
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.