From bc0515cd9960d51fbcf367557b3c102196eb210c Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 11 Nov 2018 17:54:44 +0100 Subject: Rename data rate to be specific to the resolution --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 4b9cbeb..d4b10e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -131,9 +131,9 @@ pub mod mode { pub struct Continuous(()); } -/// Data rate +/// Data rate for ADS1013, ADS1014, ADS1015, ADS1018 #[derive(Debug, Clone, PartialEq)] -pub enum DataRate { +pub enum DataRate12Bit { /// 128 SPS Sps128, /// 250 SPS -- cgit v1.2.3-54-g00ecf