We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089ef8f commit 8674b5aCopy full SHA for 8674b5a
README.md
@@ -872,8 +872,8 @@ void SysTick_Handler(void) {
872
> The `volatile` specifier is required here becase `s_ticks` is modified by the
873
> interrupt handler. `volatile` prevents the compiler to optimise/cache
874
> `s_ticks` value in a CPU register: instead, generated code always accesses
875
-> memory. That is why you will find `volatile` keywords later in the
876
-> peripheral, too.
+> memory. That is why `volatile` keywords is present in the peripheral struct
+> definitions, too.
877
878
Note the `volatile` specifier for `s_ticks`. Any variable that is changed
879
by the IRQ handler, must be marked as `volatile`, in order to prevent the
0 commit comments