https://github.com/z3rone/ina260_stm32_driver
https://github.com/z3rone/ina260_stm32_driver
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/z3rone/ina260_stm32_driver
- Owner: z3rone
- Created: 2020-03-04T11:25:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-03T14:19:16.000Z (over 4 years ago)
- Last Synced: 2025-02-03T23:31:23.210Z (4 months ago)
- Language: C
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# INA260_STM32_Driver
An [INA260](http://www.ti.com/product/INA260) driver for STM32Cube's Hardware Abstraction Layer (HAL).Example:
```
struct INA260_Handle handle;
handle.iface = &hi2c1; // I2C Interface
handle.addr = 0b1000000; // I2C Address
double voltage = INA260_get_u(handle);
double current = INA260_get_i(handle);
double power = INA260_get_p(handle);
```