[][src]Enum adxl343::DataFormatRange

#[repr(u8)]
pub enum DataFormatRange {
    PLUSMINUS_2G,
    PLUSMINUS_4G,
    PLUSMINUS_8G,
    PLUSMINUS_16G,
}

g-Range setting flags which can be OR'd with DataFormatFlags and passed as operands to Register::DATA_FORMAT

Variants

PLUSMINUS_2G

±2g

PLUSMINUS_4G

±4g

PLUSMINUS_8G

±8g

PLUSMINUS_16G

±16g

Methods

impl DataFormatRange[src]

pub fn bits(self) -> DataFormatFlags[src]

Get DataFormatFlags representation

Trait Implementations

impl From<DataFormatRange> for DataFormatFlags[src]

impl Debug for DataFormatRange[src]

impl PartialEq<DataFormatRange> for DataFormatRange[src]

impl Eq for DataFormatRange[src]

impl Copy for DataFormatRange[src]

impl StructuralPartialEq for DataFormatRange[src]

impl StructuralEq for DataFormatRange[src]

impl Clone for DataFormatRange[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self