projects
/
z80.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
avr: initial commit
[z80.git]
/
avr
/
i2c.h
1
/* I2C communication header */
2
#ifndef _I2C_H_
3
#define _I2C_H_
4
5
#define I2C_ALOW 0x20
6
#define I2C_AHIGH 0x21
7
#define I2C_DATA 0x22
8
9
void i2c_init(void);
10
void i2c_test(void);
11
uint8_t i2c_read(uint8_t addr);
12
void i2c_write(uint8_t addr, uint8_t data);
13
14
#endif /* _I2C_H_ */