libpynq  (release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
i2cps.c File Reference
#include <i2cps.h>
Include dependency graph for i2cps.c:

Go to the source code of this file.

Functions

int setI2C (unsigned int index, long slave_addr)
 
int unsetI2C (int i2c_fd)
 
int writeI2C_asFile (int i2c_fd, unsigned char writebuffer[], unsigned char bytes)
 
int readI2C_asFile (int i2c_fd, unsigned char readbuffer[], unsigned char bytes)
 

Function Documentation

◆ readI2C_asFile()

int readI2C_asFile ( int  i2c_fd,
unsigned char  readbuffer[],
unsigned char  bytes 
)

Definition at line 6 of file i2cps.c.

Here is the caller graph for this function:

◆ setI2C()

int setI2C ( unsigned int  index,
long  slave_addr 
)

Definition at line 2 of file i2cps.c.

Here is the caller graph for this function:

◆ unsetI2C()

int unsetI2C ( int  i2c_fd)

Definition at line 3 of file i2cps.c.

Here is the caller graph for this function:

◆ writeI2C_asFile()

int writeI2C_asFile ( int  i2c_fd,
unsigned char  writebuffer[],
unsigned char  bytes 
)

Definition at line 4 of file i2cps.c.

Here is the caller graph for this function: