openMMC
Open Source Modular MMC for AMCs
|
INA3221 interface implementation. More...
#include "FreeRTOS.h"
#include "task.h"
#include "port.h"
#include "sdr.h"
#include "task_priorities.h"
#include "i2c.h"
#include "i2c_mapping.h"
#include "fpga_spi.h"
#include "fru.h"
#include "ina3221.h"
Functions | |
void | vTaskINA3221 (void *Parameters) |
uint8_t | ina3221_read_reg (ina3221_data_t *data, uint8_t reg, uint16_t *read) |
uint8_t | ina3221_read_voltages (ina3221_data_t *data) |
void | ina3221_init (void) |
Variables | |
TaskHandle_t | vTaskINA3221_Handle |
INA3221 interface implementation.
void ina3221_init | ( | void | ) |
uint8_t ina3221_read_reg | ( | ina3221_data_t * | data, |
uint8_t | reg, | ||
uint16_t * | read ) |
uint8_t ina3221_read_voltages | ( | ina3221_data_t * | data | ) |
void vTaskINA3221 | ( | void * | Parameters | ) |
TaskHandle_t vTaskINA3221_Handle |