This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
CMS3in1/2.Blade/1.Software/STM32/Drivers/BSP/TP1000/TP1000.h

30 lines
638 B
C

#ifndef __TP1000__H__
#define __TP1000__H__
#include "stm32f4xx_hal.h"
#define RTD_DRDY1_Pin GPIO_PIN_9
#define RTD_DRDY1_GPIO_Port GPIOA
#define RTD_DRDY2_Pin GPIO_PIN_10
#define RTD_DRDY2_GPIO_Port GPIOA
#define RTD_DRDY3_Pin GPIO_PIN_10
#define RTD_DRDY3_GPIO_Port GPIOG
typedef struct {
GPIO_TypeDef *RTD_NSS_GPIO_Port;
GPIO_TypeDef *RTD_DRDY_GPIO_Port;
uint16_t RTD_DRDY_Pin;
uint16_t RTD_NSS_Pin;
uint8_t f_temperature1[2];
uint8_t f_temperature2[2];
uint8_t f_temperature3[2];
} tp1000_cs_drdy;
void TP1000_Init(void);
void max31865_init();
tp1000_cs_drdy Get_Hardware_SPI3_Temp(void);
#endif