20 lines
617 B
C
20 lines
617 B
C
/**
|
|
* @file temperature_control.h
|
|
* @brief Temperature-control services for the laser TEC loops.
|
|
*/
|
|
|
|
#ifndef TEMPERATURE_CONTROL_H
|
|
#define TEMPERATURE_CONTROL_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "app_types.h"
|
|
|
|
uint16_t temperature_control_compute_pid(const laser_channel_config_t *channel_config,
|
|
laser_runtime_t *runtime_state,
|
|
uint8_t channel_index,
|
|
uint32_t current_tick_1ms,
|
|
uint32_t *shared_pid_reference_tick);
|
|
|
|
#endif /* TEMPERATURE_CONTROL_H */
|