Skip to content

ADC example doesn't work because of imports #342

@stonefoxes

Description

@stonefoxes

Hi, I'm trying to use ADC on STM32L451, according to examples: simple read and read with DMA. But I have the following error:

39 |     adc::{Adc, AdcCommon, DmaMode, SampleTime, Sequence},
   |           ^^^  ^^^^^^^^^ no `AdcCommon` in `adc`
   |           |
   |           no `Adc` in `adc`
   |           help: a similar name exists in the module: `ADC`

What am I doing wrong and how to make it work? Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions