summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Reiter <me@reitermark.us>2024-01-30 12:14:30 +0100
committerGitHub <noreply@github.com>2024-01-30 12:14:30 +0100
commitae2b28f057b464e72736308624d1154e210f3b89 (patch)
tree86a7a3a4d45ef3f3a0618efa000c75002bfa437a
parent9cc795648110f4d1db47534b1818e19bd75bd3d0 (diff)
downloadads1x1x-async-ae2b28f057b464e72736308624d1154e210f3b89.tar.gz
ads1x1x-async-ae2b28f057b464e72736308624d1154e210f3b89.tar.xz
ads1x1x-async-ae2b28f057b464e72736308624d1154e210f3b89.zip
Simplify docs for `FullScaleRange`. (#18)
-rw-r--r--src/types.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/types.rs b/src/types.rs
index c3de8b0..77205cd 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -147,18 +147,18 @@ pub enum ComparatorQueue {
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Ord, PartialOrd, Hash)]
#[allow(non_camel_case_types)]
pub enum FullScaleRange {
- /// The measurable range is ±6.144V.
+ /// ±6.144V
Within6_144V,
- /// The measurable range is ±4.096V.
+ /// ±4.096V
Within4_096V,
- #[default]
/// The measurable range is ±2.048V. (default)
+ #[default]
Within2_048V,
- /// The measurable range is ±1.024V.
+ /// ±1.024V
Within1_024V,
- /// The measurable range is ±0.512V.
+ /// ±0.512V
Within0_512V,
- /// The measurable range is ±0.256V.
+ /// ±0.256V
Within0_256V,
}