Struct atmega_hal::adc::AdcSettings
source · pub struct AdcSettings {
pub clock_divider: ClockDivider,
pub ref_voltage: ReferenceVoltage,
}Expand description
Configuration for the ADC peripheral.
Fields§
§clock_divider: ClockDivider§ref_voltage: ReferenceVoltageTrait Implementations§
source§impl Clone for AdcSettings
impl Clone for AdcSettings
source§fn clone(&self) -> AdcSettings
fn clone(&self) -> AdcSettings
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AdcSettings
impl Debug for AdcSettings
source§impl Default for AdcSettings
impl Default for AdcSettings
source§fn default() -> AdcSettings
fn default() -> AdcSettings
Returns the “default value” for a type. Read more