lcdmono 2.0.0.0
|
This file contains API for LCD Mono Click driver. More...
#include "drv_digital_out.h"
#include "drv_spi_master.h"
#include "generic_pointer.h"
Go to the source code of this file.
Data Structures | |
struct | lcdmono_font_t |
struct | lcdmono_coordinate_t |
struct | lcdmono_text_settings_t |
struct | lcdmono_t |
Click ctx object definition. More... | |
struct | lcdmono_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | LCDMONO_MAP_MIKROBUS(cfg, mikrobus) |
#define | LCDMONO_OK 0 |
#define | LCDMONO_ERROR -1 |
#define | LCDMONO_DISPLAY_WIDTH 128 |
#define | LCDMONO_DISPLAY_HEIGHT 128 |
#define | LCDMONO_DISPLAY_RESOLUTIONS 2307 |
#define | LCDMONO_COLOR_WHITE 0x00 |
#define | LCDMONO_COLOR_BLACK 0x01 |
#define | LCDMONO_REFRESH_DISPLAY_END 0x01 |
#define | LCDMONO_CHECK_NEW_TEXT 0x00 |
#define | LCDMONO_REFRESH_TEXT_BUFFER 0x10 |
#define | LCDMONO_CMD_DISPLAY_FLAG 0x80 |
#define | LCDMONO_CMD_CLEAR_FLAG 0x20 |
#define | LCDMONO_DUMMY_BYTE 0x00 |
#define | LCDMONO_POWER_ON 1 |
#define | LCDMONO_POWER_OFF 0 |
Functions | |
void | lcdmono_cfg_setup (lcdmono_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | lcdmono_init (lcdmono_t *ctx, lcdmono_cfg_t *cfg) |
Initialization function. | |
void | lcdmono_send_line_package (lcdmono_t *ctx, uint8_t addr, uint8_t *__generic_ptr tx_data) |
Send line data package. | |
void | lcdmono_clear (lcdmono_t *ctx) |
Clear display. | |
void | lcdmono_draw_frame (lcdmono_t *ctx, uint8_t *__generic_ptr frame_data) |
Displays draw frame. | |
void | lcdmono_draw_text (lcdmono_t *ctx, uint8_t *__generic_ptr text_buf, lcdmono_text_settings_t *tx_set, uint8_t end_mode) |
Draw text on the screen. | |
void | lcdmono_set_font (lcdmono_t *ctx, lcdmono_font_t *dev_lcd_font) |
Set font. | |
void | lcdmono_display_power (lcdmono_t *ctx, uint8_t ctrl) |
Display Power State. | |
void | lcdmono_display_reset (lcdmono_t *ctx) |
Reset procedure. | |
This file contains API for LCD Mono Click driver.