leddriver7 2.0.0.0
|
This file contains API for LED Driver 7 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 | leddriver7_t |
Click ctx object definition. More... | |
struct | leddriver7_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | LEDDRIVER7_MAP_MIKROBUS(cfg, mikrobus) |
#define | LEDDRIVER7_RETVAL uint8_t |
#define | LEDDRIVER7_OK 0x00 |
#define | LEDDRIVER7_INIT_ERROR 0xFF |
#define | LEDDRIVER7_SLAVE_ADR_GND 0x2C |
#define | LEDDRIVER7_SLAVE_ADR_VCC 0x2D |
#define | LEDDRIVER7_ONE_TIME_PRG 0x80 |
#define | LEDDRIVER7_NORM_OP_MODE 0x00 |
#define | LEDDRIVER7_OTP_RDY_PRG 0x00 |
#define | LEDDRIVER7_OTP_TEST_FUSE_NOT_BLOWN 0x40 |
#define | LEDDRIVER7_OTP_FATAL_ERR 0x80 |
#define | LEDDRIVER7_OTP_SUCCESSFULL 0xC0 |
Functions | |
void | leddriver7_cfg_setup (leddriver7_cfg_t *cfg) |
Config Object Initialization function. | |
LEDDRIVER7_RETVAL | leddriver7_init (leddriver7_t *ctx, leddriver7_cfg_t *cfg) |
Initialization function. | |
void | leddriver7_generic_write (leddriver7_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | leddriver7_generic_read (leddriver7_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
This file contains API for LED Driver 7 Click driver.