|
void | ledring2_cfg_setup (ledring2_cfg_t *cfg) |
| LED Ring 2 configuration object setup function.
|
|
err_t | ledring2_init (ledring2_t *ctx, ledring2_cfg_t *cfg) |
| LED Ring 2 initialization function.
|
|
err_t | ledring2_default_cfg (ledring2_t *ctx) |
| LED Ring 2 default configuration function.
|
|
err_t | ledring2_set_slave_address (ledring2_t *ctx, uint8_t slave_address) |
| Set I2C Slave address.
|
|
err_t | ledring2_write_reg (ledring2_t *ctx, uint8_t led_group, uint16_t reg, uint8_t *data_in, uint8_t len) |
| LED Ring 2 write register function.
|
|
err_t | ledring2_read_reg (ledring2_t *ctx, uint8_t led_group, uint16_t reg, uint8_t *data_out, uint8_t len) |
| LED Ring 2 read registe function.
|
|
void | ledring2_set_vsync (ledring2_t *ctx) |
| LED Ring 2 read registe function.
|
|
err_t | ledring2_enable (ledring2_t *ctx) |
| LED Ring 2 enable function.
|
|
err_t | ledring2_disable (ledring2_t *ctx) |
| LED Ring 2 disable function.
|
|
err_t | ledring2_set_all_led_state (ledring2_t *ctx, ledring2_led_state_t led_state) |
| LED Ring 2 set all LED state function.
|
|
err_t | ledring2_set_led_pos_state (ledring2_t *ctx, uint8_t led_pos, ledring2_led_state_t led_state) |
| LED Ring 2 set LED state function.
|
|
err_t | ledring2_set_led_brightness (ledring2_t *ctx, uint8_t led_pos, uint16_t led_brightness) |
| LED Ring 2 set LED brightness function.
|
|
This file contains API for LED Ring 2 Click Driver.