diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 17:54:44 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 17:54:44 +0100 |
commit | bc0515cd9960d51fbcf367557b3c102196eb210c (patch) | |
tree | 0505ab34ec19b9b88ba05f44d36246c3a122eaad /src/lib.rs | |
parent | 3779cf1770e1be03d60623d965f5e56897fbfa43 (diff) | |
download | ads1x1x-async-bc0515cd9960d51fbcf367557b3c102196eb210c.tar.gz ads1x1x-async-bc0515cd9960d51fbcf367557b3c102196eb210c.tar.xz ads1x1x-async-bc0515cd9960d51fbcf367557b3c102196eb210c.zip |
Rename data rate to be specific to the resolution
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |