leddriver19 2.1.0.0
|
This file contains API for LED Driver 19 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 | leddriver19_t |
LED Driver 19 Click context object. More... | |
struct | leddriver19_cfg_t |
LED Driver 19 Click configuration object. More... | |
Enumerations | |
enum | leddriver19_return_value_t { LEDDRIVER19_OK = 0 , LEDDRIVER19_ERROR = -1 } |
LED Driver 19 Click return value data. More... | |
Functions | |
void | leddriver19_cfg_setup (leddriver19_cfg_t *cfg) |
LED Driver 19 configuration object setup function. | |
err_t | leddriver19_init (leddriver19_t *ctx, leddriver19_cfg_t *cfg) |
LED Driver 19 initialization function. | |
err_t | leddriver19_default_cfg (leddriver19_t *ctx) |
LED Driver 19 default configuration function. | |
err_t | leddriver19_generic_write (leddriver19_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
LED Driver 19 I2C writing function. | |
err_t | leddriver19_generic_read (leddriver19_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
LED Driver 19 I2C reading function. | |
uint8_t | leddriver19_get_int_pin (leddriver19_t *ctx) |
LED Driver 19 get interrupt pin state function. | |
err_t | leddriver19_write_reg (leddriver19_t *ctx, uint8_t reg, uint8_t data_in) |
LED Driver 19 I2C register writing function. | |
err_t | leddriver19_read_reg (leddriver19_t *ctx, uint8_t reg, uint8_t *data_out) |
LED Driver 19 I2C register reading function. | |
err_t | leddriver19_sw_reset (leddriver19_t *ctx) |
LED Driver 19 software reset function. | |
err_t | leddriver19_enable_channels (leddriver19_t *ctx, uint16_t channels_en) |
LED Driver 19 enables channels function. | |
err_t | leddriver19_disable_channels (leddriver19_t *ctx, uint16_t channels_dis) |
LED Driver 19 disable channels function. | |
err_t | leddriver19_set_pattern_pwm (leddriver19_t *ctx, uint8_t pattern_sel, uint8_t channel_sel, float pwm_value) |
LED Driver 19 set pattern PWM value function. | |
err_t | leddriver19_get_ch_current (leddriver19_t *ctx, uint8_t channel_sel, float *current_val) |
LED Driver 19 get channel current value function. | |
err_t | leddriver19_set_ch_current (leddriver19_t *ctx, uint8_t channel_sel, float current_val) |
LED Driver 19 set channel current value function. | |
err_t | leddriver19_get_int_data (leddriver19_t *ctx, uint8_t *int_data) |
LED Driver 19 get interrupt register data function. | |
err_t | leddriver19_get_nc_led (leddriver19_t *ctx, uint16_t *led_data) |
LED Driver 19 get LED open ( NC channels ) data function. | |
This file contains API for LED Driver 19 Click Driver.