- Added first draft of housing

This commit is contained in:
2025-08-21 13:42:44 +02:00
parent 7da2b4415f
commit 714b5be13c
9 changed files with 705 additions and 9 deletions

View File

@@ -8,10 +8,21 @@
// ============================================================================================
// Includes
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
// ============================================================================================
// Defines
#define INA260_REG_CONFIG 0x00 ///< Configuration register
#define INA260_REG_CURRENT 0x01 ///< Current measurement register (signed) in mA
#define INA260_REG_BUSVOLTAGE 0x02 ///< Bus voltage measurement register in mV
#define INA260_REG_POWER 0x03 ///< Power calculation register in mW
#define INA260_REG_MASK_ENABLE 0x06 ///< Interrupt/Alert setting and checking register
#define INA260_REG_ALERT_LIMIT 0x00 ///< Alert limit value register
#define INA260_REG_MFG_UID 0xFE ///< Manufacturer ID Register
#define INA260_REG_DIE_UID 0xFF ///< Die ID and Revision Register
// ============================================================================================
@@ -22,4 +33,6 @@
// Function Declarations
void INA260_Init();
uint16_t INA260_Test_Read(uint8_t reg_address);
#endif // INA260_H