Siphon Regulator 1.0
Nanosattelite attitude determination and control system.
Loading...
Searching...
No Matches
loop_fcn.h
Go to the documentation of this file.
1/*
2 * Loop functions library
3 * (c) Antonin_Putala 2026
4 *
5 * Developed using STM32CubeIDE
6 * Tested on BluePill board and STM32F103C8T6, 32 MHz.
7 */
8
23#ifndef INC_LOOP_FCN_H_
24#define INC_LOOP_FCN_H_
25
26/* Includes -----------------------------------------------*/
27#include "main.h"
28
29/* Extern global variables --------------------------------*/
31extern settings_t set_data;
32
33/* Function prototypes ------------------------------------*/
50void autoread_fcn(uint32_t reg);
51
110void valve_fcn(uint32_t * p_reg, float * p_set_pos);
111
141void regul_fcn(uint32_t * p_reg, float set_pos);
142
144#endif /* INC_LOOP_FCN_H_ */
void valve_fcn(uint32_t *p_reg, float *p_set_pos)
It handles the execution of motion commands.
Definition loop_fcn.c:69
settings_t set_data
Main system settings.
Definition main.c:61
sensor_data_t measured_data
Current sensor measured data.
Definition main.c:60
void autoread_fcn(uint32_t reg)
It handles the periodic transmission of the sensor data message.
Definition loop_fcn.c:27
void regul_fcn(uint32_t *p_reg, float set_pos)
It handles the regulation of the orientation.
Definition loop_fcn.c:183
: Header for main.c file. This file contains the common defines of the application.