[riot-notifications] [RIOT-OS/RIOT] drivers: Add AD7746 capacitance sensor driver (#10919)
notifications at github.com
Wed Feb 6 15:04:22 CET 2019
leandrolanzieri commented on this pull request.
> + */
+int ad7746_raw_to_temperature(uint32_t raw);
+ * @brief Converts a raw code into voltage expressed in mV
+ * @param[in] raw Raw code from the device
+ * @return voltage in mV
+ * @note Note when using the @ref AD7746_VT_MD_VDD mode, that the voltage from the
+ * VDD pin is internally attenuated by 6
+int ad7746_raw_to_voltage(uint32_t raw);
+ * @brief Sets the current input for the capacitive measurement
The capacitance channel has two inputs (CIN1 and CIN2), this can be changed during runtime that's why this function exists. By default the selected one is CIN1, I can add that into the documentation.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications