/*
 * temperature.h
 *
 *  Created on: Aug 4, 2025
 *      Author: herli
 */

#ifndef INC_TEMPERATURE_H_
#define INC_TEMPERATURE_H_

#include <stdint.h>

#define DMA_SAMPLES_TEMP 5
#define DMA_BUFFER_SIZE 1 * DMA_SAMPLES_TEMP

extern float Temp;

extern uint32_t temp_avg;
extern uint16_t dma_buffer[2 * DMA_BUFFER_SIZE];

extern void process_buffer_Temp(uint16_t *buffer);

#endif /* INC_TEMPERATURE_H_ */
