bargraph 2.0.0.0
|
This file contains API for BarGraph Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | bargraph_t |
Click ctx object definition. More... | |
struct | bargraph_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | BARGRAPH_MAP_MIKROBUS(cfg, mikrobus) |
#define | BARGRAPH_RETVAL uint8_t |
#define | BARGRAPH_OK 0x00 |
#define | BARGRAPH_INIT_ERROR 0xFF |
Functions | |
void | bargraph_cfg_setup (bargraph_cfg_t *cfg) |
Config Object Initialization function. | |
BARGRAPH_RETVAL | bargraph_init (bargraph_t *ctx, bargraph_cfg_t *cfg) |
Initialization function. | |
void | bargraph_generic_transfer (bargraph_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
void | bargraph_driver_init (bargraph_t *ctx) |
Functions for initializes the chip. | |
void | bargraph_reset (bargraph_t *ctx) |
Functions for reset the chip. | |
void | bargraph_display (bargraph_t *ctx, uint8_t input) |
Displays function. | |
void | bargraph_enable (bargraph_t *ctx, uint8_t input) |
Functions for enable the chip. | |
This file contains API for BarGraph Click driver.