config changes that didn´t do shit

This commit is contained in:
2024-10-17 16:12:29 +02:00
parent 05eb7db05f
commit 7367d5165b
39 changed files with 6434 additions and 6335 deletions

View File

@ -68,6 +68,8 @@ uint8 amsReset();
uint8 initAMS(SPI_HandleTypeDef* hspi, uint8 numofcells, uint8 numofaux);
uint8 amsWakeUp();
uint8 amsConfig();
uint8 amsCellMeasurement(Cell_Module* module);
uint8 amsConfigCellMeasurement(uint8 numberofChannels);

View File

@ -62,7 +62,8 @@
#define ADSV_DCP (1u << 4)
#define ADSV_CONT (1u << 7) // Continuous Mode
#define ADAX 0x0410 // Start GPIOs and Vref2 Conversion
#define ADAX 0x0411 // Start GPIOs and Vref2 Conversion
#define ADAX2 0x0401
#define ADAX_CONV_ALL 0x0000 // Convert all GPIOs, VREF2, VD, VA, ITEMP
#define ADAX_OW (1u << 8)