From c227a71d243db6d539f3c64e3b4bb1b3ab282693 Mon Sep 17 00:00:00 2001 From: Finomnis Date: Mon, 4 Dec 2023 15:53:02 +0100 Subject: Refactor race condition free timer helper (#850) * Implement half_period_counter in rtic-time * Rename compute_now to calculate_now, use it in stm32 and imxrt * Add more tests * Add some docs * Fix clippy warning, add imxrt timer to monotonics tests * Bump dependency version to make sure monotonics will build properly * Add changelog to rtic-monotonics * Add more docs * Add more docs * Finish documentation * Fix typos * Switch from atomic-polyfill to portable-atomic * Some more doc fixes * More doc fixes * Minor doc fix * Minor doc fix * Fix Atomics not existing * Fix example * Minor example improvement * Revert back to atomic-polyfill * Fix cargo.toml formatting * Remove atomic-polyfill * Attempt to fix unused macro warning * Remove atomics completely from half period counter * Minor doc fix * Doc fixes * Doc fixes * Remove obsolete comment * Fix ordering in monotonic initialization sequence --- rtic-time/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rtic-time/src/lib.rs') diff --git a/rtic-time/src/lib.rs b/rtic-time/src/lib.rs index 4c89d52..6254bca 100644 --- a/rtic-time/src/lib.rs +++ b/rtic-time/src/lib.rs @@ -19,6 +19,7 @@ use linked_list::{Link, LinkedList}; pub use monotonic::Monotonic; use rtic_common::dropper::OnDrop; +pub mod half_period_counter; mod linked_list; mod monotonic; -- cgit v1.2.3