Contains i2c implementation of the platform. More...
#include "Arduino.h"
#include "Wire.h"
Go to the source code of this file.
Functions | |
int8_t | i2c_init () |
i2c_init() definition. More... | |
int8_t | i2c_write_multi (uint8_t deviceAddress, uint8_t registerAddress, uint8_t *pdata, uint32_t count) |
i2c_write_multi() definition. To be implemented by the developer More... | |
int8_t | i2c_read_multi (uint8_t deviceAddress, uint8_t registerAddress, uint8_t *pdata, uint32_t count) |
i2c_read_multi() definition. To be implemented by the developer More... | |
int8_t | i2c_write_byte (uint8_t deviceAddress, uint8_t registerAddress, uint8_t data) |
i2c_write_byte() definition. To be implemented by the developer More... | |
int8_t | i2c_read_byte (uint8_t deviceAddress, uint8_t registerAddress, uint8_t *pdata) |
i2c_read_byte() definition. To be implemented by the developer More... | |
Contains i2c implementation of the platform.
int8_t i2c_init | ( | ) |
i2c_init() definition.
int8_t i2c_read_byte | ( | uint8_t | deviceAddress, |
uint8_t | registerAddress, | ||
uint8_t * | pdata | ||
) |
i2c_read_byte() definition.
To be implemented by the developer
int8_t i2c_read_multi | ( | uint8_t | deviceAddress, |
uint8_t | registerAddress, | ||
uint8_t * | pdata, | ||
uint32_t | count | ||
) |
i2c_read_multi() definition.
To be implemented by the developer
int8_t i2c_write_byte | ( | uint8_t | deviceAddress, |
uint8_t | registerAddress, | ||
uint8_t | data | ||
) |
i2c_write_byte() definition.
To be implemented by the developer
int8_t i2c_write_multi | ( | uint8_t | deviceAddress, |
uint8_t | registerAddress, | ||
uint8_t * | pdata, | ||
uint32_t | count | ||
) |
i2c_write_multi() definition.
To be implemented by the developer