pub struct Adc<RES, MODE>where
RES: Resolution,
MODE: RunMode,{ /* private fields */ }
Expand description
The constrained ADC peripheral
Constrain the ADC register set and create a new Adc peripheral
Calibrate the ADC, and store its calibration value
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Get the specific ID that identifies this channel, for example
0_u8
for the first ADC
channel, if Self::ID is u8.
Read more
Error type returned by ADC methods
Request that the ADC begin a conversion on the specified pin
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.