Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
Global Variables

Extern declarations for globally accessible variables and HAL handles. More...

Variables

QSPI_HandleTypeDef hqspi
 HAL QSPI handle for the external flash memory.
 
SPI_HandleTypeDef hspi2
 HAL SPI handle for Sensor Bus 1 (e.g., IMU, Baro).
 
SPI_HandleTypeDef hspi3
 HAL SPI handle for Sensor Bus 2 (e.g., secondary sensors).
 
TIM_HandleTypeDef htim15
 HAL Timer handle for the buzzer PWM.
 
uint8_t mainp
 Status flag for the main parachute pyro channel.
 
uint8_t drogue
 Status flag for the drogue parachute pyro channel.
 
bool flag_kf
 RTOS event flag to trigger the Kalman Filter task.
 
bool flag_MPC
 RTOS event flag to trigger the MPC task.
 
bool flag_flash
 RTOS event flag to trigger the data logging task.
 
bool flag_attitude
 RTOS event flag to trigger the attitude estimation task.
 

Detailed Description

Extern declarations for globally accessible variables and HAL handles.

Variable Documentation

◆ drogue

uint8_t drogue
extern

Status flag for the drogue parachute pyro channel.

Definition at line 229 of file main.c.

Referenced by check_AbcsDeployed_phase(), check_Burning_phase(), check_Liftoff_phase(), and StartMPC_Task().

◆ flag_attitude

bool flag_attitude
extern

RTOS event flag to trigger the attitude estimation task.

Definition at line 302 of file main.c.

Referenced by check_AbcsDeployed_phase(), check_Burning_phase(), check_Calibrating_phase(), check_Liftoff_phase(), and StartKalman_mkf().

◆ flag_flash

bool flag_flash
extern

RTOS event flag to trigger the data logging task.

Definition at line 307 of file main.c.

Referenced by check_Calibrating_phase(), check_Main_phase(), StartKalman_mkf(), and StartSensor_Task().

◆ flag_kf

bool flag_kf
extern

RTOS event flag to trigger the Kalman Filter task.

Definition at line 301 of file main.c.

Referenced by check_Liftoff_phase(), and StartKalman_mkf().

◆ flag_MPC

bool flag_MPC
extern

RTOS event flag to trigger the MPC task.

Definition at line 303 of file main.c.

Referenced by check_AbcsDeployed_phase(), check_Burning_phase(), check_Liftoff_phase(), and StartMPC_Task().

◆ hqspi

QSPI_HandleTypeDef hqspi
extern

HAL QSPI handle for the external flash memory.

Definition at line 58 of file main.c.

Referenced by HAL_QSPI_MspDeInit(), HAL_QSPI_MspInit(), and MX_QUADSPI_Init().

◆ hspi2

SPI_HandleTypeDef hspi2
extern

HAL SPI handle for Sensor Bus 1 (e.g., IMU, Baro).

Definition at line 62 of file main.c.

Referenced by lis2mdl_init(), and MX_SPI2_Init().

◆ hspi3

SPI_HandleTypeDef hspi3
extern

HAL SPI handle for Sensor Bus 2 (e.g., secondary sensors).

Definition at line 63 of file main.c.

Referenced by lis2mdl_init_2(), and MX_SPI3_Init().

◆ htim15

TIM_HandleTypeDef htim15
extern

HAL Timer handle for the buzzer PWM.

Definition at line 69 of file main.c.

Referenced by main(), and MX_TIM15_Init().

◆ mainp

uint8_t mainp
extern

Status flag for the main parachute pyro channel.

Definition at line 230 of file main.c.

Referenced by check_Drogue_phase(), and StartMPC_Task().