aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
blob: b2003d3ae270a1a86644f286dd5c8a872bf33f3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <stdbool.h>

extern volatile unsigned long g_hh_vcount;
extern volatile unsigned short g_hh_hcount;

extern bool g_hh_run;

/** @brief exec entrypoint */
int main();

/** @brief setup i/o interfaces */
void hh_setup();
/** @brief main loop (sim only) */
void hh_loop();
/** @brief stop main loop and cleanup/deinitialize */
void hh_exit();