Solaris Software
Toggle main menu visibility
Loading...
Searching...
No Matches
main.c
Go to the documentation of this file.
1
#include "
app.h
"
2
3
void
app_main
(
void
)
4
{
5
// 1. Initialize the HAL (Hardware Abstraction Layer)
6
APP_initHal
();
7
8
// 2. Initialize the FSM (Finite State Machine)
9
APP_initFsm
();
10
11
// 3. Start the FSM loop (executes the state machine indefinitely)
12
APP_fsmLoop
();
13
}
APP_fsmLoop
void APP_fsmLoop(void)
Main loop for the FSM (executes the state machine indefinitely).
Definition
app.c:67
APP_initFsm
void APP_initFsm(void)
Initialize the FSM (Finite State Machine).
Definition
app.c:45
APP_initHal
void APP_initHal(void)
Initialize the HAL (Hardware Abstraction Layer).
Definition
app.c:31
app.h
app_main
void app_main(void)
Definition
main.c:3
solaris-v2
main
main.c
Generated by
1.18.0