pub struct ADC { /* private fields */ }
Expand description

Analog-to-Digital Converter

Implementations

Pointer to the register block

Return the pointer to the register block

Trait Implementations

Channel ID type for this ADC.

Settings type for this ADC.

Initialize the ADC peripheral with the specified settings. Read more

Read out the ADC data register. Read more

Check whether the ADC is currently converting a signal. Read more

Start a conversion on the currently selected channel. Read more

Set the multiplexer to a certain channel. Read more

Set the DIDR (Digital Input Disable) for a certain channel. Read more

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.