62 #include <sys/types.h> 63 #include <sys/errno.h> 64 #include <sys/ioctl.h> 66 #include "rnr/rnrconfig.h" 97 const byte_t *values);
103 const byte_t *values);
int i2c_smbus_write_word_data(int fd, byte_t command, ushort_t value)
Write a data 2-byte word to the SMBus.
int i2c_smbus_write_block_data(int fd, byte_t command, byte_t length, const byte_t *values)
Write a data block to the SMBus.
int i2c_smbus_write_byte_data(int fd, byte_t command, byte_t value)
Write a data byte to the SMBus.
int i2c_smbus_block_process_call(int fd, byte_t command, byte_t length, byte_t *values)
Issue a block process call (write/read) to the SMBus.
int i2c_smbus_access(int fd, byte_t read_write, byte_t command, int size, i2c_smbus_data_t *data)
Execute an SMBus IOCTL.
int i2c_smbus_read_block_data(int fd, byte_t command, byte_t *values)
Read a block of data from the SMBus.
int i2c_smbus_read_i2c_block_data(int fd, byte_t command, byte_t *values)
Read a block of data from the SMBus via low-level I2C.
I2C character device interface.
int i2c_smbus_write_i2c_block_data(int fd, byte_t command, byte_t length, const byte_t *values)
Write a block of data to the SMBus via low-level I2C.
int i2c_smbus_write_quick(int fd, byte_t value)
Write a quick value to the SMBus.
int i2c_smbus_write_byte(int fd, byte_t value)
Write an immediate byte to the SMBus.
int i2c_smbus_read_word_data(int fd, byte_t command)
Read a data 2-byte word from the SMBus.
int i2c_smbus_process_call(int fd, byte_t command, ushort_t value)
Issue a 2-byte word process call (write/read) to the SMBus.
int i2c_smbus_read_byte_data(int fd, byte_t command)
Read a data byte from the SMBus.
int i2c_smbus_read_byte(int fd)
Read an immediate byte from the SMBus.