Struct grand_central_m4::thumbv7em::adc::Adc [−][src]
pub struct Adc<ADC> { /* fields omitted */ }
Expand description
Adc
encapsulates the device ADC
Implementations
pub fn adc0(
adc: ADC0,
mclk: &mut MCLK,
clocks: &mut GenericClockController,
gclk: GEN_A
) -> Adc<ADC0>
Set the sample rate
Set the prescaler for adjusting the clock relative to the system clock
Set the input resolution
pub fn adc1(
adc: ADC1,
mclk: &mut MCLK,
clocks: &mut GenericClockController,
gclk: GEN_A
) -> Adc<ADC1>
Set the sample rate
Set the prescaler for adjusting the clock relative to the system clock
Set the input resolution
Trait Implementations
Performs the conversion.
Performs the conversion.