Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure ADC macros #457

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Commits on Jan 29, 2024

  1. mcu: Remove code that will become generated

    NOTE: This commit does not yet compile!
    
    The motivation for this is not repeating these definitions in both
    crates. Instead, we will move them into `impl_adc!`, and implement them
    differently based on which type of timer we're talking about.
    LuigiPiucco committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    f15acd0 View commit details
    Browse the repository at this point in the history
  2. generic: restructure impl_adc macro

    NOTE: This commit does not yet compile!
    
    See doc comment on the macro for details and usage.
    LuigiPiucco committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    a7f5763 View commit details
    Browse the repository at this point in the history
  3. atmega-hal: update adc macro invocations

    NOTE: attiny-hal does not yet compile! But now atmega-hal does.
    LuigiPiucco committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    c70bba4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be7b4c0 View commit details
    Browse the repository at this point in the history
  5. generic: add comment about the new design

    The bit about redesigning could be removed after it's finished, but I'd
    leave the principles and maybe even add some information for aspiring
    contributors.
    LuigiPiucco committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    464d82a View commit details
    Browse the repository at this point in the history