#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "SELKIELoggerBase.h"
#include "SELKIELoggerI2C.h"
#include "SELKIELoggerMP.h"
Go to the source code of this file.
|
void * | i2c_setup (void *ptargs) |
| I2C Connection setup. More...
|
|
void * | i2c_logging (void *ptargs) |
| I2C main logging loop. More...
|
|
void * | i2c_shutdown (void *ptargs) |
| I2C shutdown. More...
|
|
void * | i2c_channels (void *ptargs) |
| Generate I2C channel map. More...
|
|
device_callbacks | i2c_getCallbacks (void) |
| Fill out device callback functions for logging. More...
|
|
i2c_params | i2c_getParams (void) |
| Fill out default I2C parameters. More...
|
|
bool | i2c_validate_chanmap (i2c_params *ip) |
| Check channel mapping is valid. More...
|
|
bool | i2c_chanmap_add_ina219 (i2c_params *ip, const uint8_t devAddr, const uint8_t baseID) |
| Add INA219 voltage and current readings to channel map. More...
|
|
bool | i2c_chanmap_add_ads1015 (i2c_params *ip, const uint8_t devAddr, const uint8_t baseID, const float scale, const float offset, const float minV, const float maxV) |
| Add ADS1015 single ended voltage measurements to channel map. More...
|
|
bool | i2c_parseConfig (log_thread_args_t *lta, config_section *s) |
| Take a configuration section, parse parameters and register devices. More...
|
|