Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _BEAGLEBONE_LOCAL_I2C_
- #define _BEAGLEBONE_LOCAL_I2C_
- #include <linux/i2c-dev.h>
- int i2c_write(const unsigned char chain, const unsigned int address, unsigned char *data, const unsigned int numBytes);
- int i2c_read(const unsigned char chain, const unsigned int address, unsigned char reg, unsigned char *data, const unsigned char numBytes);
- int i2c_initialize( void );
- int i2c_wtf( void );
- int i2c_cleanup( void );
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement