oledc
2.0.0.0
|
This file contains API for OLED C Click driver. More...
#include "drv_digital_out.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | oledc_t |
Click context object definition. More... | |
struct | oledc_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | oledc_cfg_setup (oledc_cfg_t *cfg) |
Configuartion Object Setup. More... | |
int8_t | oledc_init (oledc_t *ctx, oledc_cfg_t *cfg) |
Click Initialization. More... | |
void | oledc_default_cfg (oledc_t *ctx) |
Click Default Configuration. More... | |
void | oledc_reset (oledc_t *ctx) |
Click Hardware Reset. More... | |
void | oledc_enable (oledc_t *ctx, uint8_t state) |
Click Enable/Disable. More... | |
void | oledc_command (oledc_t *ctx, uint8_t cmd, uint8_t *args, uint16_t args_len) |
Command Send. More... | |
void | oledc_fill_screen (oledc_t *ctx, uint16_t color) |
Fill Screen. More... | |
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. More... | |
void | oledc_image (oledc_t *ctx, const uint8_t *img, uint8_t column_off, uint8_t row_off) |
Draw BMP Image. More... | |
void | oledc_text (oledc_t *ctx, uint8_t *text, uint16_t col_off, uint16_t row_off) |
Draw Text. More... | |
void | oledc_set_font (oledc_t *ctx, const uint8_t *font, uint16_t color, uint8_t orientation) |
Font Setup. More... | |
void | oledc_fill_area (oledc_t *ctx, uint16_t top, uint16_t left, uint16_t bottom, uint16_t right, uint16_t color) |
Fill Area. More... | |
void | oledc_begin_frame (oledc_t *ctx, uint16_t top, uint16_t left, uint16_t bottom, uint16_t right) |
Begin Frame. More... | |
void | oledc_frame_data (oledc_t *ctx, uint16_t color) |
Frame Data. More... | |
void | oledc_end_frame (oledc_t *ctx) |
End Frame. More... | |
This file contains API for OLED C Click driver.