7 Commits

Author SHA1 Message Date
Georges
c9865a5e0a
Optimization: i2c factorization (#202)
* optim: factorize i2c_master_init() and i2c_master_delete()

* optim: factorize register_read() and register_write_byte()
2024-06-05 18:53:30 -04:00
tdb3
28d61cd027
refactor: deduplicate i2c parameters
Pulls common i2c macros (e.g. GPIO pins, speed, etc.)
into a common header, to deduplicate and increase
maintainability.
Also adds missing include for DS4432U.h in DS4432U.c.
2024-05-27 11:43:29 -04:00
Ben
7f21f5cad9 support for INA260 DNP 2023-08-28 19:56:04 -04:00
Ben
79430f6d3a reformat entire c project 2023-08-26 12:28:17 -04:00
Skot Croshere
cb71de0ea1 fixed the endian issue on the INA260 driver 2023-07-01 14:17:01 -04:00
Skot Croshere
167a60bdf3 added ADC functions to read BM1397 Vcore. Cleaned up DS4432U set_vcore() function 2023-07-01 14:17:01 -04:00
Skot Croshere
4b01c67d50 Fan speed seems to be working, Added some INA260 tests. doesn't seem like power is working yet 2023-07-01 14:17:01 -04:00