|
void | leddriver18_cfg_setup (leddriver18_cfg_t *cfg) |
| LED Driver 18 configuration object setup function.
|
|
err_t | leddriver18_init (leddriver18_t *ctx, leddriver18_cfg_t *cfg) |
| LED Driver 18 initialization function.
|
|
err_t | leddriver18_default_cfg (leddriver18_t *ctx) |
| LED Driver 18 default configuration function.
|
|
err_t | leddriver18_generic_write (leddriver18_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| LED Driver 18 I2C writing function.
|
|
err_t | leddriver18_generic_read (leddriver18_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| LED Driver 18 I2C reading function.
|
|
err_t | leddriver18_set_output_pwm (uint8_t out_num, float pwm_val) |
| LED Driver 18 set output channel PWM value function.
|
|
float | leddriver18_get_output_pwm (uint8_t out_num) |
| LED Driver 18 get output channel PWM value function.
|
|
void | leddriver18_write_config (leddriver18_t *ctx) |
| LED Driver 18 write config function.
|
|
void | leddriver18_enable_output (leddriver18_t *ctx) |
| LED Driver 18 enable output function.
|
|
void | leddriver18_disable_output (leddriver18_t *ctx) |
| LED Driver 18 disable output function.
|
|
err_t | leddriver18_set_cc_output (leddriver18_t *ctx, uint8_t current_limit) |
| LED Driver 18 set constant current output function.
|
|
err_t | leddriver18_get_cc_output (leddriver18_t *ctx, uint8_t *current_limit) |
| LED Driver 18 get constant current output function.
|
|
This file contains API for LED Driver 18 Click Driver.