color18
2.1.0.0
|
This file contains API for Color 18 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 | color18_data_t |
Color 18 Click data object. More... | |
struct | color18_t |
Color 18 Click context object. More... | |
struct | color18_cfg_t |
Color 18 Click configuration object. More... | |
Enumerations | |
enum | color18_return_value_t { COLOR18_OK = 0, COLOR18_ERROR = -1 } |
Color 18 Click return value data. More... | |
Functions | |
void | color18_cfg_setup (color18_cfg_t *cfg) |
Color 18 configuration object setup function. More... | |
err_t | color18_init (color18_t *ctx, color18_cfg_t *cfg) |
Color 18 initialization function. More... | |
err_t | color18_default_cfg (color18_t *ctx) |
Color 18 default configuration function. More... | |
err_t | color18_write_regs (color18_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
Color 18 write regs function. More... | |
err_t | color18_read_regs (color18_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
Color 18 read regs function. More... | |
err_t | color18_write_reg (color18_t *ctx, uint8_t reg, uint8_t data_in) |
Color 18 write reg function. More... | |
err_t | color18_read_reg (color18_t *ctx, uint8_t reg, uint8_t *data_out) |
Color 18 read reg function. More... | |
err_t | color18_write_reg_word (color18_t *ctx, uint8_t reg, uint16_t data_in) |
Color 18 write reg word function. More... | |
err_t | color18_read_reg_word (color18_t *ctx, uint8_t reg, uint16_t *data_out) |
Color 18 read reg word function. More... | |
err_t | color18_check_communication (color18_t *ctx) |
Color 18 check communication function. More... | |
void | color18_set_vsync_pin (color18_t *ctx, uint8_t state) |
Color 18 set vsync pin state function. More... | |
uint8_t | color18_get_int_pin (color18_t *ctx) |
Color 18 get int pin state function. More... | |
err_t | color18_soft_reset (color18_t *ctx) |
Color 18 soft reset function. More... | |
err_t | color18_clear_fifo (color18_t *ctx) |
Color 18 clear fifo function. More... | |
err_t | color18_read_fifo_size (color18_t *ctx, uint16_t *fifo_size) |
Color 18 read fifo size function. More... | |
err_t | color18_read_data (color18_t *ctx, color18_data_t *data_out) |
Color 18 read data function. More... | |
This file contains API for Color 18 Click Driver.