c10x10rgb2
2.1.0.0
|
This file contains API for 10x10 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 | c10x10rgb2_led_t |
10x10 RGB 2 Click led object. More... | |
struct | c10x10rgb2_pen_t |
10x10 RGB 2 Click pen object. More... | |
struct | c10x10rgb2_t |
10x10 RGB 2 Click context object. More... | |
struct | c10x10rgb2_cfg_t |
10x10 RGB 2 Click configuration object. More... | |
Enumerations | |
enum | c10x10rgb2_return_value_t { C10X10RGB2_OK = 0, C10X10RGB2_ERROR = -1 } |
10x10 RGB 2 Click return value data. More... | |
Functions | |
void | c10x10rgb2_cfg_setup (c10x10rgb2_cfg_t *cfg) |
10x10 RGB 2 configuration object setup function. More... | |
err_t | c10x10rgb2_init (c10x10rgb2_t *ctx, c10x10rgb2_cfg_t *cfg) |
10x10 RGB 2 initialization function. More... | |
err_t | c10x10rgb2_default_cfg (c10x10rgb2_t *ctx) |
10x10 RGB 2 default configuration function. More... | |
err_t | c10x10rgb2_write_leds (c10x10rgb2_t *ctx, c10x10rgb2_led_t *leds, uint16_t num_leds) |
10x10 RGB 2 write leds function. More... | |
err_t | c10x10rgb2_write_led_matrix (c10x10rgb2_t *ctx) |
10x10 RGB 2 write led matrix function. More... | |
void | c10x10rgb2_set_led_brightness (c10x10rgb2_t *ctx, uint16_t led_num, uint8_t brightness) |
10x10 RGB 2 set led brightness function. More... | |
void | c10x10rgb2_set_leds_brightness (c10x10rgb2_t *ctx, uint8_t brightness) |
10x10 RGB 2 set leds brightness function. More... | |
void | c10x10rgb2_set_led_color (c10x10rgb2_t *ctx, uint16_t led_num, uint32_t rgb) |
10x10 RGB 2 set led color function. More... | |
void | c10x10rgb2_set_leds_color (c10x10rgb2_t *ctx, uint32_t rgb) |
10x10 RGB 2 set leds color function. More... | |
uint32_t | c10x10rgb2_make_color (uint8_t red, uint8_t green, uint8_t blue, uint8_t rgb_pct) |
10x10 RGB 2 make color function. More... | |
uint32_t | c10x10rgb2_color_wheel (uint8_t wheel_pos, uint8_t rgb_pct) |
10x10 RGB 2 color wheel function. More... | |
err_t | c10x10rgb2_fill_screen (c10x10rgb2_t *ctx, uint32_t rgb) |
10x10 RGB 2 fill screen function. More... | |
void | c10x10rgb2_set_pen (c10x10rgb2_t *ctx, uint32_t txt_rgb, uint32_t bg_rgb, uint8_t rotation) |
10x10 RGB 2 set pen function. More... | |
err_t | c10x10rgb2_write_char (c10x10rgb2_t *ctx, uint8_t data_in) |
10x10 RGB 2 write char function. More... | |
err_t | c10x10rgb2_write_string (c10x10rgb2_t *ctx, uint8_t *data_in, uint16_t speed_ms) |
10x10 RGB 2 write char function. More... | |
err_t | c10x10rgb2_draw_picture (c10x10rgb2_t *ctx, const uint32_t *image) |
10x10 RGB 2 draw picture function. More... | |
err_t | c10x10rgb2_demo_rainbow (c10x10rgb2_t *ctx, uint8_t rgb_pct, uint16_t upd_rate_ms, uint16_t upd_num) |
10x10 RGB 2 demo rainbow function. More... | |
This file contains API for 10x10 RGB 2 Click Driver.