u-boot/include/pca9698.h
Dirk Eibach 486cad03be gpio: Add PCA9698 40-bit I2C I/O port
Signed-off-by: Dirk Eibach <eibach@gdsys.de>
2011-10-22 00:43:45 +02:00

10 lines
291 B
C

#ifndef __PCA9698_H_
#define __PCA9698_H_
int pca9698_direction_input(u8 chip, unsigned offset);
int pca9698_direction_output(u8 chip, unsigned offset);
int pca9698_get_input(u8 chip, unsigned offset);
int pca9698_set_output(u8 chip, unsigned offset, int value);
#endif /* __PCA9698_H_ */