libpynq
(release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
i2cps.c
Go to the documentation of this file.
1
#include <
i2cps.h
>
2
int
setI2C
(
unsigned
int
index,
long
slave_addr){};
3
int
unsetI2C
(
int
i2c_fd){};
4
int
writeI2C_asFile
(
int
i2c_fd,
unsigned
char
writebuffer[],
5
unsigned
char
bytes){};
6
int
readI2C_asFile
(
int
i2c_fd,
unsigned
char
readbuffer[],
unsigned
char
bytes){};
unsetI2C
int unsetI2C(int i2c_fd)
Definition:
i2cps.c:3
i2cps.h
writeI2C_asFile
int writeI2C_asFile(int i2c_fd, unsigned char writebuffer[], unsigned char bytes)
Definition:
i2cps.c:4
setI2C
int setI2C(unsigned int index, long slave_addr)
Definition:
i2cps.c:2
readI2C_asFile
int readI2C_asFile(int i2c_fd, unsigned char readbuffer[], unsigned char bytes)
Definition:
i2cps.c:6
library
empty-library
i2cps.c
Generated on Thu Apr 25 2024 09:42:47 for libpynq by
1.8.17