Siphon Regulator
1.0
Nanosattelite attitude determination and control system.
Loading...
Searching...
No Matches
Siphon_regulator
Core
Inc
cmd_processing.h
Go to the documentation of this file.
1
/*
2
* Command processing library
3
* (c) Antonin_Putala 2026
4
*
5
* Developed using STM32CubeIDE
6
* Tested on BluePill board and STM32F103C8T6, 32 MHz.
7
*/
8
24
#ifndef __CMD_PROCESSING_H
25
#define __CMD_PROCESSING_H
26
27
/* Includes -----------------------------------------------*/
28
#include "
main.h
"
29
30
/* Defines ------------------------------------------------*/
31
//#define CMD_BUFFER_LEN 256
32
33
/* Extern global variables --------------------------------*/
34
extern
sensor_data_t
measured_data
;
35
extern
settings_t
set_data
;
36
37
/* Function prototypes ------------------------------------*/
67
void
uart_byte_available
(uint8_t c, uint32_t * p_reg);
68
70
#endif
/* __CMD_PROCCESING_H */
set_data
settings_t set_data
Main system settings.
Definition
main.c:61
measured_data
sensor_data_t measured_data
Current sensor measured data.
Definition
main.c:60
uart_byte_available
void uart_byte_available(uint8_t c, uint32_t *p_reg)
Recognizes commands in the received characters and sets the cmd register accordingly.
Definition
cmd_processing.c:28
main.h
: Header for main.c file. This file contains the common defines of the application.
sensor_data_t
Definition
main.h:78
settings_t
Definition
main.h:86
Generated by
1.12.0