MySensors Library & Examples
2.3.2
|
Two Wire Interface library.
Variables | |
const uint8_t | I2C_CONTINUE = 0 |
const uint8_t | I2C_STOP = 1 |
const uint8_t | I2C_REP_START = 2 |
const uint8_t | I2C_100KHZ = 0 |
const uint8_t | I2C_400KHZ = 1 |
const uint8_t | I2C_READ = 1 |
const uint8_t | I2C_WRITE = 0 |
const uint8_t | I2C_NO_PULLUPS = 0 |
const uint8_t | I2C_INTERNAL_PULLUPS = 1 |
const uint8_t I2C_100KHZ = 0 |
Set I2C bus speed to 100 kHz. Used by TwiMaster class.
Definition at line 45 of file I2cConstants.h.
const uint8_t I2C_400KHZ = 1 |
Set I2C bus speed to 400 kHz. Used by TwiMaster class.
Definition at line 48 of file I2cConstants.h.
const uint8_t I2C_CONTINUE = 0 |
Option argument for transfer() of transferContinue() to continue a an I2C operation.
Definition at line 34 of file I2cConstants.h.
const uint8_t I2C_INTERNAL_PULLUPS = 1 |
Enable internal pull-ups on SDA and SCL. Used by TwiMaster class.
Definition at line 60 of file I2cConstants.h.
const uint8_t I2C_NO_PULLUPS = 0 |
Disable internal pull-ups on SDA and SCL. Used by TwiMaster class.
Definition at line 57 of file I2cConstants.h.
const uint8_t I2C_READ = 1 |
Bit to OR with address for a read operation.
Definition at line 51 of file I2cConstants.h.
const uint8_t I2C_REP_START = 2 |
Option argument for transfer() of transferContinue() to end a transfer with a repeated START condition
Definition at line 42 of file I2cConstants.h.
const uint8_t I2C_STOP = 1 |
Option argument for transfer() of transferContinue() to end a transfer with a STOP condition
Definition at line 38 of file I2cConstants.h.
const uint8_t I2C_WRITE = 0 |
Bit to OR with address for write operation.
Definition at line 54 of file I2cConstants.h.