oledc 2.0.0.0
|
This file contains API for OLED C Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | oledc_t |
Click ctx object definition. More... | |
struct | oledc_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | oledc_cfg_setup (oledc_cfg_t *cfg) |
Config Object Initialization function. | |
OLEDC_RETVAL | oledc_init (oledc_t *ctx, oledc_cfg_t *cfg) |
Initialization function. | |
void | oledc_default_cfg (oledc_t *ctx) |
Click Default Configuration function. | |
void | oledc_enable (oledc_t *ctx, uint8_t state) |
Click Enable/Disable. | |
void | oledc_reset (oledc_t *ctx) |
Click Hardware Reset. | |
void | oledc_more_arg_commands (oledc_t *ctx, uint8_t command, uint8_t *args, uint16_t args_len) |
Command Send with more argument. | |
void | oledc_one_arg_commands (oledc_t *ctx, uint8_t command, uint8_t args) |
Command Send with one argument. | |
void | oledc_fill_screen (oledc_t *ctx, uint16_t color) |
Fill Screen. | |
void | oledc_rectangle (oledc_t *ctx, uint8_t col_off, uint8_t row_off, uint8_t col_end, uint8_t row_end, uint16_t color) |
Draw Rectangle. | |
void | oledc_image (oledc_t *ctx, const uint8_t *img, uint8_t col_off, uint8_t row_off) |
Draw BMP Image. | |
void | oledc_text (oledc_t *ctx, uint8_t *text, uint16_t x, uint16_t y) |
Draw Text. | |
void | oledc_set_font (oledc_t *ctx, const uint8_t *font_s, uint16_t color) |
Font Setup. | |
This file contains API for OLED C Click driver.