LCD display management.
More...
#include <stdint.h>
#include "common/phal_G4/usart/usart.h"
Go to the source code of this file.
|
| 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.
|
| |
LCD display management.
- Author
- Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)
◆ page_t
| Enumerator |
|---|
| PAGE_RACE | |
| PAGE_FAULTS | |
| PAGE_CALIBRATION | |
| PAGE_AMK | |
| PAGE_VCU | |
| NUM_PAGES | |
| PAGE_PREFLIGHT | |
◆ advancePage()
| void advancePage |
( |
void | | ) |
|
Advances to the next selectable page.
◆ backPage()
Moves to the previous selectable page.
◆ LCD_init()
| void LCD_init |
( |
uint32_t | baud_rate | ) |
|
◆ LCD_tx_update()
| void LCD_tx_update |
( |
void | | ) |
|
Called periodically to send commands to the Nextion LCD display via USART.
◆ moveDown()
◆ moveUp()
◆ selectItem()
◆ updatePage()
Updates LCD display page.
Key behaviors:
- Maintains display of error pages when active
◆ updateTelemetryPages()
| void updateTelemetryPages |
( |
void | | ) |
|
Updates current telemetry page by calling its handler if available.
◆ curr_page
◆ LCD_BAUD_RATE
| uint32_t LCD_BAUD_RATE = 115'200 |
|
staticconstexpr |
◆ LCD_USART