force3 2.0.0.0
|
This file contains API for Force 3 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | force3_t |
Click ctx object definition. More... | |
struct | force3_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | FORCE3_MAP_MIKROBUS(cfg, mikrobus) |
#define | FORCE3_RETVAL uint8_t |
#define | FORCE3_OK 0x00 |
#define | FORCE3_INIT_ERROR 0xFF |
#define | FORCE3_DEVICE_SLAVE_ADDR 0x4D |
Functions | |
void | force3_cfg_setup (force3_cfg_t *cfg) |
Config Object Initialization function. | |
FORCE3_RETVAL | force3_init (force3_t *ctx, force3_cfg_t *cfg) |
Initialization function. | |
void | force3_generic_write (force3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | force3_generic_read (force3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint16_t | force3_read_raw_data (force3_t *ctx) |
Read 12bit raw data. | |
This file contains API for Force 3 Click driver.