From be26e8497b510d4bf441f9d9cd3207d02b058bc0 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 8 Nov 2025 11:03:02 -0500 Subject: specify dac voltage in millivolts --- fw/dac.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'fw/dac.h') diff --git a/fw/dac.h b/fw/dac.h index 1882c3e..e9bf54b 100644 --- a/fw/dac.h +++ b/fw/dac.h @@ -20,17 +20,17 @@ void dacInit(void); // Set DAC1 VOUTA. -// Only the lower 10 bits are used. -void dacSet1a(U16 level); +// Mv is the desired voltage in millivolts. +void dacSet1a(U16 mv); // Set DAC1 VOUTB. -// Only the lower 10 bits are used. -void dacSet1b(U16 level); +// Mv is the desired voltage in millivolts. +void dacSet1b(U16 mv); // Set DAC2 VOUTA. -// Only the lower 10 bits are used. -void dacSet2a(U16 level); +// Mv is the desired voltage in millivolts. +void dacSet2a(U16 mv); // Set DAC2 VOUTB. -// Only the lower 10 bits are used. -void dacSet2b(U16 level); +// Mv is the desired voltage in millivolts. +void dacSet2b(U16 mv); -- cgit v1.2.3