commit | 8df78c0a624f6e8f89f511cae4e3188440deacd3 | [log] [tgz] |
---|---|---|
author | Martin Hoff <martin.hoff@silabs.com> | Tue Sep 23 16:33:24 2025 +0200 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Thu Oct 09 12:42:56 2025 -0400 |
tree | 4c42dcb111973d661d9352f3573cf7541b8e58ba | |
parent | 073745e2a236415f964652dcd2c33a45bef8422e [diff] |
samples: adc_sequence: differential mode handling in ADC conversion This commit updates the ADC sequence sample to improve handling of differential mode readings. It modifies the conversion logic to correctly interpret 16-bit/32-bit signed values and adjusts the resolution accordingly. This ensures accurate millivolt conversion for both differential and single-ended configurations. Signed-off-by: Martin Hoff <martin.hoff@silabs.com>