copy files over from slave

This commit is contained in:
2024-05-10 18:59:00 +02:00
parent b5f51ac964
commit f05f1fd3b8
192 changed files with 2014 additions and 313161 deletions

18
Core/Inc/TMP1075.h Normal file
View File

@ -0,0 +1,18 @@
#ifndef INC_TMP1075_H_
#define INC_TMP1075_H_
#include "AMS_CAN.h"
#include "common_defs.h"
#include "stm32f3xx_hal.h"
#include "stm32f3xx_hal_def.h"
#include "stm32f3xx_hal_i2c.h"
#include <stdint.h>
extern uint32_t tmp1075_failed_sensors;
extern int16_t tmp1075_temps[N_TEMP_SENSORS];
HAL_StatusTypeDef tmp1075_init(I2C_HandleTypeDef* hi2c);
HAL_StatusTypeDef tmp1075_measure();
HAL_StatusTypeDef tmp1075_sensor_init(int n);
HAL_StatusTypeDef tmp1075_sensor_read(int n, int16_t* res);
#endif // INC_TMP1075_H_