Midnight Sun Firmware
Loading...
Searching...
No Matches
display.h
1#pragma once
2
3/************************************************************************************************
4 * @file display.h
5 *
6 * @brief Header file for display control
7 *
8 * @date 2025-07-28
9 * @author Midnight Sun Team #24 - MSXVI
10 ************************************************************************************************/
11
12/* Standard library Headers */
13#include <stdbool.h>
14
15/* Inter-component Headers */
16#include "display_defs.h"
17#include "status.h"
18
19/* Intra-component Headers */
20#include "steering.h"
21
33#define HORIZONTAL_SYNC_WIDTH 4
34#define VERTICAL_SYNC_WIDTH 4
35#define HORIZONTAL_BACK_PORCH 43
36#define VERTICAL_BACK_PORCH 12
37#define HORIZONTAL_FRONT_PORCH 8
38#define VERTICAL_FRONT_PORCH 8
39
47
48StatusCode display_rx_slow();
49StatusCode display_rx_medium();
50StatusCode display_rx_fast();
51StatusCode display_run();
52
StatusCode
StatusCodes for various errors.
Definition: status.h:27
StatusCode display_init(SteeringStorage *storage)
Initialize the display.
Definition: display.c:211
Steering storage.
Definition: steering.h:111