ledflash3 2.1.0.0
|
This file contains API for LED Flash 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 | ledflash3_t |
LED Flash 3 Click context object. More... | |
struct | ledflash3_cfg_t |
LED Flash 3 Click configuration object. More... | |
Enumerations | |
enum | ledflash3_return_value_t { LEDFLASH3_OK = 0 , LEDFLASH3_ERROR = -1 } |
LED Flash 3 Click return value data. More... | |
Functions | |
void | ledflash3_cfg_setup (ledflash3_cfg_t *cfg) |
LED Flash 3 configuration object setup function. | |
err_t | ledflash3_init (ledflash3_t *ctx, ledflash3_cfg_t *cfg) |
LED Flash 3 initialization function. | |
err_t | ledflash3_default_cfg (ledflash3_t *ctx) |
LED Flash 3 default configuration function. | |
err_t | ledflash3_generic_write (ledflash3_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
LED Flash 3 I2C writing function. | |
err_t | ledflash3_generic_read (ledflash3_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
LED Flash 3 I2C reading function. | |
err_t | ledflash3_write_reg (ledflash3_t *ctx, uint8_t reg, uint8_t data_in) |
LED Flash 3 register writing function. | |
err_t | ledflash3_read_reg (ledflash3_t *ctx, uint8_t reg, uint8_t *data_out) |
LED Flash 3 regiister reading function. | |
void | ledflash3_strobe_pin (ledflash3_t *ctx) |
LED Flash 3 strobe function. | |
err_t | ledflash3_set_flash_current (ledflash3_t *ctx, float flash_current) |
LED Flash 3 set flash current function. | |
err_t | ledflash3_set_torch_current (ledflash3_t *ctx, float torch_current) |
LED Flash 3 set torch current function. | |
This file contains API for LED Flash 3 Click Driver.