OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include "sensor.h"
#include "hal_i2c.h"
#include "bcm85658.h"
#include <logging/log.h>
Functions | |
LOG_MODULE_REGISTER (bcm85658) | |
K_MUTEX_DEFINE (bcm85658_mutex) | |
bool | bcm85658_get_fw_version (I2C_MSG *msg, uint8_t *version) |
uint8_t | bcm85658_read_temp (I2C_MSG *msg, double *avg_temperature) |
uint8_t | bcm85658_read (sensor_cfg *cfg, int *reading) |
uint8_t | bcm85658_init (sensor_cfg *cfg) |
bool bcm85658_get_fw_version | ( | I2C_MSG * | msg, |
uint8_t * | version | ||
) |
uint8_t bcm85658_init | ( | sensor_cfg * | cfg | ) |
uint8_t bcm85658_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |
uint8_t bcm85658_read_temp | ( | I2C_MSG * | msg, |
double * | avg_temperature | ||
) |
K_MUTEX_DEFINE | ( | bcm85658_mutex | ) |
LOG_MODULE_REGISTER | ( | bcm85658 | ) |