#include "com_task.h"
Functions | |
void | gui_enter_idle (void) |
Make the display darker in order to simulate an idle mode and reduce power consumption. More... | |
void | gui_init (uint32_t fcpu_hz, uint32_t fhsb_hz, uint32_t fpbb_hz, uint32_t fpba_hz) |
Initialization function of the GUI interface. More... | |
void | gui_leave_idle (void) |
Restore the display in the running mode. More... | |
void | gui_shutdown (void) |
Shutdown the GUI. More... | |
void | gui_update (enum gui_update_view view, enum gui_update_elt *element, struct display_file_list *lst_str, struct file_info *info, struct player_info *player) |
GUI main task update. More... | |
enum gui_update_elt |
enum gui_update_view |
void gui_enter_idle | ( | void | ) |
Make the display darker in order to simulate an idle mode and reduce power consumption.
Initialization function of the GUI interface.
fcpu_hz | CPU frequency. |
fhsb_hz | HSB frequency. |
fpbb_hz | PBB frequency. |
fpba_hz | PBA frequency. |
Initialization function of the GUI interface.
References BLACK, delay_init, et024006_DrawFilledRect(), ET024006_HEIGHT, et024006_Init(), ET024006_WIDTH, gpio_set_gpio_pin(), and gui_print_default_message().
Referenced by app_engine(), com_task_init(), and main().
void gui_leave_idle | ( | void | ) |
Restore the display in the running mode.
void gui_shutdown | ( | void | ) |
Shutdown the GUI.
void gui_update | ( | enum gui_update_view | view, |
enum gui_update_elt * | element, | ||
struct display_file_list * | lst_str, | ||
struct file_info * | info, | ||
struct player_info * | player | ||
) |
GUI main task update.
view | The view to update. |
element | The elements of the view to be update. |
lst_str | The list of file in the current directory. |
info | Information of the selected file. |
player | Information about the player itself. |
Referenced by com_task().