11 Commits

Author SHA1 Message Date
Georges Palauqui
2d15d447e0
refactor: split vcore out from ds4432 driver, to make it an abstraction of whatever hardware is regulating vcore (making room for TPS546) 2024-06-06 12:14:15 +02:00
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
493dbccfe5 Improved when to run self test and fail messages 2024-03-18 00:46:59 -04:00
Benjamin Wilson
2f1a6c5d7d
Self_test (#139)
* self test
2024-03-17 15:37:41 -04:00
Ben
79430f6d3a reformat entire c project 2023-08-26 12:28:17 -04:00
Georges Palauqui
87d7e7c5d0
Fix build with IDF-5.1 2023-08-16 16:55:10 +02:00
Skot Croshere
d23a55608c added default difficulty to menuconfig and got rid of the I2C pin config 2023-07-01 14:20:48 -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
bab5ac54aa added the DS4432U transfer function for setting the BM1397 core voltage. careful with this one!! 2023-07-01 14:16:07 -04:00
Skot Croshere
94e486f67c added i2c-test branch 2023-07-01 14:16:04 -04:00