Files @ e81c09ec6423
Branch filter:

Location: therm-ng/inc/pid.h

Ethan Zonca
Merge
#ifndef PIDS_H
#define PIDS_H

#include "stm32f3xx_hal.h"
#include "states.h"

typedef struct {
	int16_t last_pid_temp;
	uint8_t last_pid_temp_frac;
	int32_t i_state;
} pid_state_t;

void pid_init(void);
float pid_process(void);
int16_t pid_update(void);

#endif