Enum nrf52832_hal::pac::comp::extrefsel::EXTREFSEL_A[][src]

#[repr(u8)]
pub enum EXTREFSEL_A {
    ANALOGREFERENCE0,
    ANALOGREFERENCE1,
    ANALOGREFERENCE2,
    ANALOGREFERENCE3,
    ANALOGREFERENCE4,
    ANALOGREFERENCE5,
    ANALOGREFERENCE6,
    ANALOGREFERENCE7,
}
Expand description

External analog reference select

Value on reset: 0

Variants

ANALOGREFERENCE0

0: Use AIN0 as external analog reference

ANALOGREFERENCE1

1: Use AIN1 as external analog reference

ANALOGREFERENCE2

2: Use AIN2 as external analog reference

ANALOGREFERENCE3

3: Use AIN3 as external analog reference

ANALOGREFERENCE4

4: Use AIN4 as external analog reference

ANALOGREFERENCE5

5: Use AIN5 as external analog reference

ANALOGREFERENCE6

6: Use AIN6 as external analog reference

ANALOGREFERENCE7

7: Use AIN7 as external analog reference

Trait Implementations

Returns a copy of the value. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.