c4x4rgb2 2.1.0.0
|
This file contains API for 4x4 RGB 2 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | c4x4rgb2_color_t |
4x4 RGB 2 Click RGB color object. More... | |
struct | c4x4rgb2_led_t |
4x4 RGB 2 Click led object. More... | |
struct | c4x4rgb2_t |
4x4 RGB 2 Click context object. More... | |
struct | c4x4rgb2_cfg_t |
4x4 RGB 2 Click configuration object. More... | |
Enumerations | |
enum | c4x4rgb2_return_value_t { C4X4RGB2_OK = 0 , C4X4RGB2_ERROR = -1 } |
4x4 RGB 2 Click return value data. More... | |
Functions | |
void | c4x4rgb2_cfg_setup (c4x4rgb2_cfg_t *cfg) |
4x4 RGB 2 configuration object setup function. | |
err_t | c4x4rgb2_init (c4x4rgb2_t *ctx, c4x4rgb2_cfg_t *cfg) |
4x4 RGB 2 initialization function. | |
err_t | c4x4rgb2_default_cfg (c4x4rgb2_t *ctx) |
4x4 RGB 2 default configuration function. | |
err_t | c4x4rgb2_write_leds (c4x4rgb2_t *ctx, c4x4rgb2_led_t *leds, uint8_t num_leds) |
4x4 RGB 2 write leds function. | |
err_t | c4x4rgb2_write_led_matrix (c4x4rgb2_t *ctx) |
4x4 RGB 2 write led matrix function. | |
void | c4x4rgb2_set_led_brightness (c4x4rgb2_t *ctx, uint8_t led_num, uint8_t brightness) |
4x4 RGB 2 set led brightness function. | |
void | c4x4rgb2_set_all_leds_brightness (c4x4rgb2_t *ctx, uint8_t brightness) |
4x4 RGB 2 set all leds brightness function. | |
void | c4x4rgb2_set_led_color (c4x4rgb2_t *ctx, uint8_t led_num, uint32_t rgb) |
4x4 RGB 2 set led color function. | |
void | c4x4rgb2_set_all_leds_color (c4x4rgb2_t *ctx, uint32_t rgb) |
4x4 RGB 2 set all leds color function. | |
This file contains API for 4x4 RGB 2 Click Driver.