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

add support for extending the cycle counter to u64 #6

Merged
merged 11 commits into from
Feb 15, 2022

Commits on Feb 2, 2022

  1. add support for extending the cycle counter to u64

    This enables tracking time intervals of more than a couple seconds on
    modern processors.
    jordens committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    406a283 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Configuration menu
    Copy the full SHA
    23be86d View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. set a long reload in clear_compare_flag()

    In extend=true, the reload interrupt is not disabled (for overflow
    detection), the previous `set_compare()` may have been called with a
    short interval, then, if the queue is empty, the reload interrupt would
    fire at very short interval.
    jordens committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    1c8dec5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eeb1481 View commit details
    Browse the repository at this point in the history
  3. use disable_timer to set a long reload

    Also add comments clarifying the now() calls
    jordens committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    169db54 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2303279 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f6c508f View commit details
    Browse the repository at this point in the history
  6. clean up new()

    * Move the SysTick clock source configuration to `new()`.
    * Add comments about the double reset of the cycle counter.
    jordens committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    8d08686 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a27db2c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Update Cargo.toml

    depend on cortex-m 0.7.4 for `DWT::cycle_count()`
    
    Co-authored-by: Henrik Tjäder <[email protected]>
    jordens and AfoHT authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    50349e9 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. restrict ext pub use

    jordens committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    86fbb49 View commit details
    Browse the repository at this point in the history