ZEReader 0.1.0
A Zephyr-based E-Book-Reader
Loading...
Searching...
No Matches
ZEReader UI

Functions

int zereader_initialize_peripherals ()
 Initialize UI related peripherals defined in the device tree.
void zereader_setup_control_buttons (context_t *context)
 Setup and configure the control buttons.
void zereader_setup_page ()
 Setup the page UI elements.
void zereader_setup_statusbar ()
 Setup and configure the status bar.
void zereader_clean_page ()
 Clean out the page contents.
void zereader_print_current_page ()
 Show the current page.
void zereader_show_logo ()
 Show the configured logo.
void zereader_clean_logo ()
 Clean out the logo.
void zereader_display_blanking_off ()
 Turn off display blanking.

Detailed Description

Function Documentation

◆ zereader_initialize_peripherals()

int zereader_initialize_peripherals ( )

Initialize UI related peripherals defined in the device tree.

Return values
0on success.
negativeon error.

◆ zereader_setup_control_buttons()

void zereader_setup_control_buttons ( context_t * context)

Setup and configure the control buttons.

Parameters
[in]contextThe UI context.