PER Firmware
Loading...
Searching...
No Matches
lcd.h File Reference

LCD display management. More...

#include <stdint.h>

Go to the source code of this file.

Classes

struct  page_handler_t
 

Enumerations

enum  page_t : uint8_t {
  PAGE_RACE = 0 , PAGE_FAULTS = 1 , PAGE_CALIBRATION = 2 , PAGE_AMK = 3 ,
  PAGE_VCU = 4 , NUM_PAGES , PAGE_PREFLIGHT
}
 

Functions

void LCD_init (uint32_t baud_rate)
 
void LCD_tx_update (void)
 Called periodically to send commands to the Nextion LCD display via USART.
 
void advancePage (void)
 Advances to the next selectable page.
 
void backPage (void)
 Moves to the previous selectable page.
 
void selectItem (void)
 
void moveUp (void)
 
void moveDown (void)
 
void updatePage (void)
 Updates LCD display page.
 
void updateTelemetryPages (void)
 Updates current telemetry page by calling its handler if available.
 

Variables

volatile page_t curr_page
 

Detailed Description

LCD display management.

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)

Function Documentation

◆ updatePage()

void updatePage ( void )

Updates LCD display page.

Key behaviors:

  • Maintains display of error pages when active