Skip to content

Support ADC auto trigger modes. #26

@jfpoilpret

Description

@jfpoilpret

Currently analog::AnalogInput allows ADC on-demand (just by calling sample()).

AVR MCU ADC circuitry offers more interesting features, in particular "auto trigger" which allows repeated sampling on an analog input pin.

It would be nice to support this feature and propose a callback notification when e.g. latest sample has changed.

This may require refactoring of analog namespace because auto-trigger mode can work with only one analog input and shall prevent on-demand sampling while active.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions