eink290inch 2.0.0.0
|
Functions | |
void | eink290inch_cfg_setup (eink290inch_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | eink290inch_init (eink290inch_t *ctx, eink290inch_cfg_t *cfg) |
Initialization function. | |
void | eink290inch_send_cmd (eink290inch_t *ctx, uint8_t command) |
Function for sending a command. | |
void | eink290inch_send_data (eink290inch_t *ctx, uint8_t c_data) |
Function for sending data. | |
void | eink290inch_reset (eink290inch_t *ctx) |
Function for reset chip. | |
void | eink290inch_sleep_mode (eink290inch_t *ctx) |
Function for go to sleep mode. | |
void | eink290inch_set_lut (eink290inch_t *ctx, const uint8_t *lut, uint8_t lut_cnt) |
Set LUT table. | |
void | eink290inch_start_config (eink290inch_t *ctx) |
Start configuration display. | |
void | eink290inch_set_mem_pointer (eink290inch_t *ctx, uint16_t x, uint16_t y) |
Function for setting pointers in memory. | |
void | eink290inch_set_mem_area (eink290inch_t *ctx, eink290inch_xy_t *xy) |
Function for setting area in memory. | |
void | eink290inch_update_display (eink290inch_t *ctx) |
Functions for update dispaly. | |
void | eink290inch_fill_screen (eink290inch_t *ctx, uint8_t color) |
Function that fills the screen. | |
void | eink290inch_display_image (eink290inch_t *ctx, const uint8_t *image_buffer) |
Display image function. | |
void | eink290inch_text (eink290inch_t *ctx, uint8_t *text, eink290inch_set_text_t *text_set) |
Function for draw text on the screen. | |
void | eink290inch_set_font (eink290inch_t *ctx, eink290inch_font_t *cfg_font) |
Set font function. | |
void eink290inch_cfg_setup | ( | eink290inch_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
void eink290inch_display_image | ( | eink290inch_t * | ctx, |
const uint8_t * | image_buffer ) |
Display image function.
ctx | Click object. |
image | Buffer containing the image |
The image can be built from VTFT or image2lcd programs
void eink290inch_fill_screen | ( | eink290inch_t * | ctx, |
uint8_t | color ) |
Function that fills the screen.
ctx | Click object. |
color | The color to which the screen will be colored |
err_t eink290inch_init | ( | eink290inch_t * | ctx, |
eink290inch_cfg_t * | cfg ) |
Initialization function.
ctx | Click object. |
cfg | Click configuration structure. |
This function initializes all necessary pins and peripherals used for this click.
void eink290inch_reset | ( | eink290inch_t * | ctx | ) |
Function for reset chip.
ctx | Click object. |
void eink290inch_send_cmd | ( | eink290inch_t * | ctx, |
uint8_t | command ) |
Function for sending a command.
ctx | Click object. |
command | The command to be sent |
void eink290inch_send_data | ( | eink290inch_t * | ctx, |
uint8_t | c_data ) |
Function for sending data.
ctx | Click object. |
c_data | The data to be sent |
void eink290inch_set_font | ( | eink290inch_t * | ctx, |
eink290inch_font_t * | cfg_font ) |
Set font function.
ctx | Click object. |
cfg_font | Struct object |
void eink290inch_set_lut | ( | eink290inch_t * | ctx, |
const uint8_t * | lut, | ||
uint8_t | lut_cnt ) |
Set LUT table.
ctx | Click object. |
lut | Lut table |
n_bytes | Number of bytes in Lut table |
@Note Changing the "lut table" can change the display's performance.
void eink290inch_set_mem_area | ( | eink290inch_t * | ctx, |
eink290inch_xy_t * | xy ) |
Function for setting area in memory.
ctx | Click object. |
xy | Struct object |
void eink290inch_set_mem_pointer | ( | eink290inch_t * | ctx, |
uint16_t | x, | ||
uint16_t | y ) |
Function for setting pointers in memory.
ctx | Click object. |
x | x position |
y | y position |
void eink290inch_sleep_mode | ( | eink290inch_t * | ctx | ) |
Function for go to sleep mode.
ctx | Click object. |
void eink290inch_start_config | ( | eink290inch_t * | ctx | ) |
Start configuration display.
ctx | Click object. |
void eink290inch_text | ( | eink290inch_t * | ctx, |
uint8_t * | text, | ||
eink290inch_set_text_t * | text_set ) |
Function for draw text on the screen.
ctx | Click object. |
text | Text buffer |
text_set | Struct object |
void eink290inch_update_display | ( | eink290inch_t * | ctx | ) |
Functions for update dispaly.
ctx | Click object. |