Go to the documentation of this file.
122 uint8_t row, uint8_t column);
126 uint8_t row, uint8_t column);
int32_t(* print_char)(struct display_dev *, uint8_t, uint8_t, uint8_t)
Definition: display.h:90
uint8_t rows_nb
Definition: display.h:55
int32_t(* move_cursor)(struct display_dev *, uint8_t, uint8_t)
Definition: display.h:88
int32_t display_print_char(struct display_dev *device, char chr, uint8_t row, uint8_t column)
Prints single char at selected position.
Definition: display.c:225
int32_t display_clear(struct display_dev *device)
Clears data on display.
Definition: display.c:156
Header file of SPI Interface.
int32_t display_move_cursor(struct display_dev *device, uint8_t row, uint8_t column)
Moves cursor to desired position.
Definition: display.c:141
Definition: ad9361_util.h:69
int32_t(* remove)(struct display_dev *)
Definition: display.h:93
Structure holding display controller function pointers that point to the controller specific function...
Definition: display.h:82
void * extra
Definition: display.h:74
const struct display_controller_ops * controller_ops
Definition: display.h:72
uint8_t cols_nb
Definition: display.h:68
int32_t display_off(struct display_dev *device)
Turns display off.
Definition: display.c:125
void * extra
Definition: display.h:59
int32_t display_print_char(struct display_dev *device, char chr, uint8_t row, uint8_t column)
Prints single char at selected position.
Definition: display.c:225
int32_t(* init)(struct display_dev *)
Definition: display.h:84
uint8_t rows_nb
Definition: display.h:70
int32_t display_init(struct display_dev **device, const struct display_init_param *param)
Initializes the display peripheral.
Definition: display.c:56
Display Device Descriptor.
Definition: display.h:51
int32_t display_clear(struct display_dev *device)
Clears data on display.
Definition: display.c:156
void * no_os_malloc(size_t size)
Allocate memory and return a pointer to it.
Definition: chibios_alloc.c:43
uint8_t cols_nb
Definition: display.h:53
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
Header file for display Driver.
int32_t display_init(struct display_dev **device, const struct display_init_param *param)
Initializes the display peripheral.
Definition: display.c:56
int32_t display_print_string(struct display_dev *device, char *msg, uint8_t row, uint8_t column)
Prints char string at selected position.
Definition: display.c:182
int32_t(* display_on_off)(struct display_dev *, uint8_t)
Definition: display.h:86
int32_t display_remove(struct display_dev *device)
Frees the resources allocated by display_init().
Definition: display.c:90
int32_t display_on(struct display_dev *device)
Turns display on.
Definition: display.c:111
Header file of GPIO Interface.
int32_t display_off(struct display_dev *device)
Turns display off.
Definition: display.c:125
const struct display_controller_ops * controller_ops
Definition: display.h:57
int32_t display_on(struct display_dev *device)
Turns display on.
Definition: display.c:111
int32_t display_remove(struct display_dev *device)
Frees the resources allocated by display_init().
Definition: display.c:90
int32_t display_move_cursor(struct display_dev *device, uint8_t row, uint8_t column)
Moves cursor to desired position.
Definition: display.c:141
int32_t display_print_string(struct display_dev *device, char *msg, uint8_t row, uint8_t column)
Prints char string at selected position.
Definition: display.c:182
Display Device Initial Parameters.
Definition: display.h:66