Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
489 B
1
Indexable
Never
/*
 * MAX31865_lib.h
 *
 *  Created on: Aug 6, 2023
 *      Author: mertcangelbal
 */

#include "main.h"
#include "math.h"
#include "stdio.h"
#include "stdbool.h"

void MAX31865_Init(uint8_t num_wires);
uint8_t MAX31865_Configuration_info(void);
double MAX31865_Get_Temperature(void);
double MAX31865_Get_Temperatur_Math(double PT100_Resistance);

typedef struct
{
  GPIO_TypeDef      *cs_gpio;
  uint16_t          cs_pin;
  SPI_HandleTypeDef *spi;
  uint8_t           lock;

}Max31865_t;