Enum ads1x15::Channel[][src]

pub enum Channel {
    A0,
    A1,
    A2,
    A3,
}

A channel on the ADS1x15 that contains an analog electric signal.

Variants

The channel corresponding to the A0 pin.

The channel corresponding to the A1 pin.

The channel corresponding to the A2 pin.

The channel corresponding to the A3 pin.

Methods

impl Channel
[src]

Converts this channel value into a valid value for the I2C Config register, setting the mux to single-ended measurements for that channel.

Trait Implementations

impl Clone for Channel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Channel
[src]

impl Debug for Channel
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Channel

impl Sync for Channel