hallcurrent3 2.0.0.0
|
This file contains API for Hall Current 3 Click driver. More...
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | hallcurrent3_t |
Click ctx object definition. More... | |
struct | hallcurrent3_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | HALLCURRENT3_MAP_MIKROBUS(cfg, mikrobus) |
#define | HALLCURRENT3_RETVAL uint8_t |
#define | HALLCURRENT3_OK 0x00 |
#define | HALLCURRENT3_INIT_ERROR 0xFF |
Functions | |
void | hallcurrent3_cfg_setup (hallcurrent3_cfg_t *cfg) |
Config Object Initialization function. | |
HALLCURRENT3_RETVAL | hallcurrent3_init (hallcurrent3_t *ctx, hallcurrent3_cfg_t *cfg) |
Initialization function. | |
void | hallcurrent3_generic_read (hallcurrent3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint16_t | hallcurrent3_read_data (hallcurrent3_t *ctx, uint8_t reg) |
Data read function. | |
float | hallcurrent3_get_current (hallcurrent3_t *ctx) |
Get current function. | |
This file contains API for Hall Current 3 Click driver.