diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -74,6 +74,25 @@ pub mod mode { pub struct Continuous(()); } +/// Data rate +#[derive(Debug, Clone)] +pub enum DataRate { + /// 128 SPS + Sps128, + /// 250 SPS + Sps250, + /// 490 SPS + Sps490, + /// 920 SPS + Sps920, + /// 1600 SPS (default) + Sps1600, + /// 2400 SPS + Sps2400, + /// 3300 SPS + Sps3300 +} + /// Possible slave addresses #[derive(Debug, Clone)] pub enum SlaveAddr { |