STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
app.h
Go to the documentation of this file.
1#ifndef STAR_APP_H
2#define STAR_APP_H
3
4/*
5 * Application tasks, started once by bringup_task after power/reset
6 * sequencing and the self-test (so every chip is out of reset first), then
7 * the board enters IDLE: only radio + idle run until an Arm (mode_core.h).
8 *
9 * task priority owns woken by
10 * sensors Realtime SPI3 IMU/high-g DRDY EXTI, deadlines
11 * radio AboveNormal SPI1 SX1262 DIO1 EXTI, 1 s poll
12 * idle BelowNormal (Stop) RTC wakeup, commands; IDLE only
13 * gnss Normal UART9 received bytes, deadlines
14 * emmc Low (its own) SDMMC1 records waiting (emmc_stm32.c)
15 */
16
17#include <stdbool.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/* Returns false if any task could not be created; the rest still run. */
24bool app_start(void);
25
26#ifdef __cplusplus
27}
28#endif
29#endif
bool app_start(void)
Definition app.c:30