force2
2.0.0.0
|
This file contains API for Force 2 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_analog_in.h"
Go to the source code of this file.
Data Structures | |
struct | force2_t |
Click ctx object definition. More... | |
struct | force2_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | FORCE2_MAP_MIKROBUS(cfg, mikrobus) cfg.an_pin = MIKROBUS( mikrobus, MIKROBUS_AN ) |
#define | FORCE2_RETVAL uint8_t |
#define | FORCE2_OK 0x00 |
#define | FORCE2_INIT_ERROR 0xFF |
Typedefs | |
typedef uint16_t | force2_data_t |
Analog data type. More... | |
Functions | |
void | force2_cfg_setup (force2_cfg_t *cfg) |
Config Object Initialization function. More... | |
FORCE2_RETVAL | force2_init (force2_t *ctx, force2_cfg_t *cfg) |
Initialization function. More... | |
force2_data_t | force2_generic_read (force2_t *ctx) |
Generic read function. More... | |
This file contains API for Force 2 Click driver.