BlackI2C.h File Reference
#include "../BlackCore.h"
#include <iostream>
#include <cstring>
#include <string>
#include <fstream>
#include <cstdint>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/i2c.h>
#include <linux/i2c-dev.h>
Include dependency graph for BlackI2C.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BlackLib::BlackI2C
 Interacts with end user, to use I2C. More...
 

Namespaces

 BlackLib
 

Enumerations

enum  BlackLib::i2cName {
  BlackLib::I2C_0 = 0,
  BlackLib::I2C_1 = 1
}
 
enum  BlackLib::transactionType {
  BlackLib::SMBUS_QUICK = 0,
  BlackLib::SMBUS_BYTE = 1,
  BlackLib::SMBUS_BYTE_DATA = 2,
  BlackLib::SMBUS_WORD_DATA = 3,
  BlackLib::SMBUS_PROC_CALL = 4,
  BlackLib::SMBUS_BLOCK_DATA = 5,
  BlackLib::SMBUS_I2C_BLOCK_BROKEN = 6,
  BlackLib::SMBUS_BLOCK_PROC_CALL = 7,
  BlackLib::SMBUS_I2C_BLOCK_DATA = 8
}