pub enum AdcAlign {
Left,
Right,
LeftAsRM,
}
Left aligned results (most significant bits)
Results in all precisions returning a value in the range 0-65535.
Depending on the precision the result will step by larger or smaller
amounts.
Right aligned results (least significant bits)
Results in all precisions returning values from 0-(2^bits-1) in
steps of 1.
Left aligned results without correction of 6bit values.
Returns left aligned results exactly as shown in RM0091 Fig.37.
Where the values are left aligned within the u16, with the exception
of 6 bit mode where the value is left aligned within the first byte of
the u16.
Get the default alignment (currently right aligned)
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
| 1.0.0 [src] |
This method tests for !=
.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static