lcdmono 2.0.0.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. | |
void lcdmono_cfg_setup | ( | lcdmono_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
void lcdmono_clear | ( | lcdmono_t * | ctx | ) |
Clear display.
ctx | Click object. |
void lcdmono_display_power | ( | lcdmono_t * | ctx, |
uint8_t | ctrl ) |
Display Power State.
ctx | Click object. |
ctrl | Power on or power off display |
void lcdmono_display_reset | ( | lcdmono_t * | ctx | ) |
Reset procedure.
ctx | Click object. |
void lcdmono_draw_frame | ( | lcdmono_t * | ctx, |
uint8_t *__generic_ptr | frame_data ) |
Displays draw frame.
ctx | Click object. |
frame_data | Buffer the frame data [ or image ] |
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.
ctx | Click object. |
text_buf | Text buffer |
tx_set | Text settings - Structure for settings text |
end_mode | Mode |
Mode options:
err_t lcdmono_init | ( | lcdmono_t * | ctx, |
lcdmono_cfg_t * | cfg ) |
Initialization function.
lcdmono | Click object. |
cfg | Click configuration structure. |
This function initializes all necessary pins and peripherals used for this click.
void lcdmono_send_line_package | ( | lcdmono_t * | ctx, |
uint8_t | addr, | ||
uint8_t *__generic_ptr | tx_data ) |
Send line data package.
ctx | Click object. |
addr | Line address [from 1 to 128] |
tx_data | 16 bytes[128 bits] data |
Function just adding a command to display update and 2 x Dummy data at the end
void lcdmono_set_font | ( | lcdmono_t * | ctx, |
lcdmono_font_t * | dev_lcd_font ) |
Set font.
ctx | Click object. |
dev_lcd_font | Select new active font |