struct __attribute__((packed))
position and size of the control
Definition: dgus_control_curve.c:30
DGUS_RETURN dgus_get_text_bounding_size(uint16_t addr, dgus_control_size *size)
Set the size of the box containing the text.
Definition: dgus_control_text.c:87
DGUS_RETURN dgus_get_text_pos(uint16_t addr, dgus_control_position *pos)
Get the position of the text on the screen.
Definition: dgus_control_text.c:63
DGUS_RETURN dgus_get_text_colour(uint16_t addr, uint16_t *colour)
Get the colour of the text.
Definition: dgus_control_text.c:79
DGUS_RETURN dgus_set_text_vp(uint16_t addr, uint16_t vp)
Set the virtual pointer VP address for the control.
Definition: dgus_control_text.c:59
DGUS_RETURN dgus_get_text_encode_mode_distance(uint16_t addr, uint8_t *encode_mode, uint8_t *vert_distance, uint8_t *horiz_distance)
Set the text encoding mode and vertical spacing.
Definition: dgus_control_text.c:141
DGUS_RETURN dgus_set_text_font_dots(uint16_t addr, uint8_t fontx_dots, uint8_t fonty_dots)
Set the elipses breakpoint. i.e. how long before we ...
Definition: dgus_control_text.c:136
DGUS_RETURN dgus_set_text_len(uint16_t addr, uint16_t len)
Set the text length.
Definition: dgus_control_text.c:107
DGUS_RETURN dgus_set_text_bounding_size(uint16_t addr, dgus_control_size size)
Get the size of the box containing the text.
Definition: dgus_control_text.c:93
DGUS_RETURN dgus_get_text_len(uint16_t addr, uint16_t *len)
Get the text length.
Definition: dgus_control_text.c:103
DGUS_RETURN dgus_set_text_encode_mode_distance(uint16_t addr, uint8_t encode_mode, uint8_t vert_distance, uint8_t horiz_distance)
get text encoding mode and vertical spacing
Definition: dgus_control_text.c:152
DGUS_RETURN dgus_get_text(uint16_t addr, uint8_t *buf, uint8_t len)
Read from VAR address as text Reads in 8 bit data format when using 0x02 GBK.
Definition: dgus_control_text.c:25
DGUS_RETURN dgus_set_text(uint16_t addr, char *text)
Write text to the address VAR.
Definition: dgus_control_text.c:36
DGUS_RETURN dgus_set_text_colour(uint16_t addr, uint16_t colour)
Set the colur of the text.
Definition: dgus_control_text.c:83
DGUS_RETURN dgus_get_text_font_dots(uint16_t addr, uint8_t *fontx_dots, uint8_t *fonty_dots)
Get the elipses breakpoint. i.e. how long before we ...
Definition: dgus_control_text.c:126
DGUS_RETURN dgus_set_text_pos(uint16_t addr, dgus_control_position pos)
Set the position of the text on the screen.
Definition: dgus_control_text.c:69
DGUS_RETURN dgus_get_text_fonts(uint16_t addr, uint8_t *font0, uint8_t *font1)
Get the current font id.
Definition: dgus_control_text.c:111
DGUS_RETURN dgus_get_text_vp(uint16_t addr, uint16_t *vp)
Set the VP pointer address in memory.
Definition: dgus_control_text.c:55
DGUS_RETURN dgus_set_text_fonts(uint16_t addr, uint8_t font0, uint8_t font1)
set the font ids
Definition: dgus_control_text.c:121
dgus_control_text_display
Definition: dgus_control_text.h:28
DGUS_RETURN dgus_set_text_padded(uint16_t addr, char *text, uint8_t len)
Write text to the address VAR and clear all text after to field length len.
Definition: dgus_control_text.c:41
DGUS II LCD Driver. Register and cointrol definitions.
#define DGUS_RETURN
Definition: dgus_reg.h:33
dgus_control_size
Definition: dgus_reg.h:112
dgus_control_position
Definition: dgus_reg.h:100