Siphon Regulator 1.0
Nanosattelite attitude determination and control system.
Loading...
Searching...
No Matches
loop_fcn.c File Reference
#include "loop_fcn.h"
#include "loop_fcn_def.h"
#include "main.h"
#include "sensor_fcn.h"
#include <math.h>
#include <stdio.h>

Go to the source code of this file.

Functions

void autoread_fcn (uint32_t reg)
 It handles the periodic transmission of the sensor data message.
 
void valve_fcn (uint32_t *p_reg, float *p_set_pos)
 It handles the execution of motion commands.
 
void regul_fcn (uint32_t *p_reg, float set_pos)
 It handles the regulation of the orientation.
 
static void valve_close (void)
 
static void regul_stop (uint32_t *p_reg, uint32_t *p_ticks)
 
static void regul_return (uint32_t *p_reg, uint32_t *p_ticks, float set_pos)
 

Function Documentation

◆ regul_return()

static void regul_return ( uint32_t * p_reg,
uint32_t * p_ticks,
float set_pos )
static

Definition at line 280 of file loop_fcn.c.

◆ regul_stop()

static void regul_stop ( uint32_t * p_reg,
uint32_t * p_ticks )
static

Definition at line 239 of file loop_fcn.c.

◆ valve_close()

static void valve_close ( void )
static

Definition at line 223 of file loop_fcn.c.