auto detect

This commit is contained in:
2025-04-02 19:32:12 +08:00
parent fd2f72914d
commit 688866108c
3 changed files with 22 additions and 12 deletions

View File

@@ -51,6 +51,7 @@
#define LDC1612_DRIVE_CURRENT 0x9000 //A000
#define LDC1612_MUX_CONFIG 0x020C // no auto scan and filter bandwidth 3.3MHz
#define LDC1612_SENSOR_CONFIG 0x1601
#define LDC1612_SLEEP_MODE 0x2801
#define LDC1612_ERROR_CONFIG 0x0000
#define LC_STABILIZE_TIME_CH0 0x001E //30
#define LDC1612_RESET_DEV 0x8000 //[15:0] 0b1000 0000 0000 0000
@@ -94,4 +95,6 @@ uint32_t ldc1612_get_raw_channel_result(uint8_t channel);
uint32_t ldc1612_parse_raw_result(uint32_t raw_result);
void ldc1612_drvie_current_detect(uint8_t channel);
#endif //LDC1612_H