first commit
This commit is contained in:
33
cm_heatsink_emulator.h
Normal file
33
cm_heatsink_emulator.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* cm_heatsink_emulator.h
|
||||
*
|
||||
* Created on: 14 Oct 2025
|
||||
* Author: Christian L. V. Madsen (OZ1CM)
|
||||
*/
|
||||
|
||||
#ifndef CM_HEATSINK_EMULATOR_H_
|
||||
#define CM_HEATSINK_EMULATOR_H_
|
||||
|
||||
typedef struct {
|
||||
char label[32];
|
||||
float thermal_resistance; // In Kelvin/Watt or Celsius/Watt (you can mix!)
|
||||
|
||||
}cm_heatsink_thermalElement_t;
|
||||
|
||||
typedef struct {
|
||||
|
||||
cm_heatsink_thermalElement_t *thermalElements;
|
||||
int thermalElements_len;
|
||||
|
||||
float power;
|
||||
float ambientTemp;
|
||||
float thermal_capacity;
|
||||
|
||||
// Dynamic
|
||||
float heatsinkTemperature;
|
||||
|
||||
}cm_heatsinkEmul_t;
|
||||
|
||||
|
||||
|
||||
#endif /* CM_HEATSINK_EMULATOR_H_ */
|
||||
Reference in New Issue
Block a user