OS Tick: updated documentation (typo correction)
@@ -28,7 +28,7 @@ The timer should be configured to generate interrupts at the given frequency.
The given callback should be used as the interrupt handler.
The timer should only be initialized and configured accordingly. It must not be started nor
-creating interrupts befor \ref OS_Tick_Enable is called.
+creating interrupts before \ref OS_Tick_Enable is called.
For a simple Cortex-M device using the built in SystemTick timer the default implementation looks
like the following example:
@@ -117,7 +117,7 @@ __WEAK int32_t OS_Tick_Disable (void) {
/*=======0=========1=========2=========3=========4=========5=========6=========7=========8=========9=========0=========1====*/
/**
\fn int32_t OS_Tick_AcknowledgeIRQ (void)
-\details Acknowlegde the pending tick interrupt, i.e. by clear the pending flag.
+\details Acknowledge the pending tick interrupt, i.e. by clear the pending flag.
For a simple Cortex-M device using the built in SystemTick timer the default implementation looks
like the following example:
@@ -148,7 +148,7 @@ __WEAK int32_t OS_Tick_GetIRQn (void) {
/*=======0=========1=========2=========3=========4=========5=========6=========7=========8=========9=========0=========1====*/
/**
\fn uint32_t OS_Tick_GetClock (void)
-\details Return the clock frequency the timer operates at, i.e. giving the rate the internal counter value is incrementet at.
+\details Return the clock frequency the timer operates at, i.e. giving the rate the internal counter value is incremented at.
For a simple Cortex-M device using the built in SystemTick timer the default implementation looks
like the following example:
@@ -178,11 +178,11 @@ __WEAK uint32_t OS_Tick_GetInterval (void) {
/*=======0=========1=========2=========3=========4=========5=========6=========7=========8=========9=========0=========1====*/
/**
\fn uint32_t OS_Tick_GetCount (void)
-\details Return the current value of the internal counter between 0 to \ref OS_Tick_GetInterval().
+\details Return the current value of the internal counter between 0 to \ref OS_Tick_GetInterval() - 1.
This value is used to calculate subticks, i.e. OS_Tick_GetCount() / OS_Tick_GetInterval(), if a higher time resolution is needed.
-\note If the hardware is a down-counter (such as the Cortex-M System Tick Timer) one has to calculate the coresponding up-counter value.
+\note If the hardware is a down-counter (such as the Cortex-M System Tick Timer) one has to calculate the corresponding up-counter value.
For a simple Cortex-M device using the built in SystemTick timer the default implementation looks
like the following example:
