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
46
StatusCode
display_init
(
SteeringStorage
*storage);
47
48
StatusCode
display_rx_slow();
49
StatusCode
display_rx_medium();
50
StatusCode
display_rx_fast();
51
StatusCode
display_run();
52
StatusCode
StatusCode
StatusCodes for various errors.
Definition:
status.h:27
display_init
StatusCode display_init(SteeringStorage *storage)
Initialize the display.
Definition:
display.c:211
SteeringStorage
Steering storage.
Definition:
steering.h:111
projects
steering
inc
display.h
Generated by
1.9.5