aboutsummaryrefslogtreecommitdiff
path: root/pw_chrono/public/pw_chrono/system_clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'pw_chrono/public/pw_chrono/system_clock.h')
-rw-r--r--pw_chrono/public/pw_chrono/system_clock.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pw_chrono/public/pw_chrono/system_clock.h b/pw_chrono/public/pw_chrono/system_clock.h
index 72035fb56..360241e0b 100644
--- a/pw_chrono/public/pw_chrono/system_clock.h
+++ b/pw_chrono/public/pw_chrono/system_clock.h
@@ -102,8 +102,9 @@ struct SystemClock {
/// The now() function can be invoked at any time.
static constexpr bool is_always_enabled = true;
- /// The now() function may work in non-masking interrupts, depending on the
- /// backend. This must be provided by the backend.
+ /// The now() function may work in non-maskable interrupt contexts (e.g.
+ /// exception/fault handlers), depending on the backend. This must be provided
+ /// by the backend.
static constexpr bool is_nmi_safe = backend::kSystemClockNmiSafe;
/// This is thread and IRQ safe. This must be provided by the backend.