|
OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>#include <stdint.h>#include <string.h>#include <logging/log.h>#include "libutil.h"#include "sensor.h"#include "ltc2991.h"#include "hal_i2c.h"
Functions | |
| LOG_MODULE_REGISTER (dev_ltc2991) | |
| int | ltc2991_read_optional_to_register (uint8_t read_optional, uint8_t *msb_register, uint8_t *lsb_register, float *parameter, uint8_t *channel) |
| uint8_t | ltc2991_read (sensor_cfg *cfg, int *reading) |
| uint8_t | ltc2991_init (sensor_cfg *cfg) |
| LOG_MODULE_REGISTER | ( | dev_ltc2991 | ) |
| uint8_t ltc2991_init | ( | sensor_cfg * | cfg | ) |

| uint8_t ltc2991_read | ( | sensor_cfg * | cfg, |
| int * | reading | ||
| ) |

| int ltc2991_read_optional_to_register | ( | uint8_t | read_optional, |
| uint8_t * | msb_register, | ||
| uint8_t * | lsb_register, | ||
| float * | parameter, | ||
| uint8_t * | channel | ||
| ) |