[][src]Enum ina260::Averaging

pub enum Averaging {
    AVG1,
    AVG4,
    AVG16,
    AVG64,
    AVG128,
    AVG256,
    AVG512,
    AVG1024,
}

Averaging Mode Determines the number of samples that are collected and averaged.

Variants

AVG1
AVG4
AVG16
AVG64
AVG128
AVG256
AVG512
AVG1024

Methods

impl Averaging[src]

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

Trait Implementations

impl Copy for Averaging[src]

impl Clone for Averaging[src]

Auto Trait Implementations

impl Unpin for Averaging

impl Send for Averaging

impl Sync for Averaging

Blanket Implementations

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

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

type Error = Infallible

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]