diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ch.hpp | 7 | ||||
-rw-r--r-- | src/templates/chcore.c | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ch.hpp b/src/lib/ch.hpp index fe368a0f2..a0068cd69 100644 --- a/src/lib/ch.hpp +++ b/src/lib/ch.hpp @@ -68,6 +68,9 @@ namespace chibios_rt { /**
* Starts the timer.
+ * @param time the time in system ticks
+ * @param vtfunc the timer callback function
+ * @param par the parameter for the callback function
* @note It must be called with the interrupts disabled.
* @note The associated function is invoked by an interrupt handler.
*/
@@ -177,6 +180,7 @@ namespace chibios_rt { /**
* Enhanced threads template class. This class introduces thread names
* and static working area allocation.
+ * @param N the working area size for the thread class
*/
template <int N>
class EnhancedThread : public BaseThread {
@@ -189,6 +193,8 @@ namespace chibios_rt { /**
* Full constructor. It allows to set a priority level for the new thread
* and specify the special option flags.
+ * @param tname the name to be assigned to the thread
+ * @param prio the priority to be assigned to the thread
*/
EnhancedThread(const char *tname, tprio_t prio) :
BaseThread(wa, sizeof wa, prio) {
@@ -200,6 +206,7 @@ namespace chibios_rt { * Simplified constructor, it allows to create a thread by simply
* specifying a name. In is assumed \p NORMALPRIO as initial priority
* and no special option flags.
+ * @param tname the name to be assigned to the thread
*/
EnhancedThread(const char *tname) :
BaseThread(wa, sizeof wa, NORMALPRIO) {
diff --git a/src/templates/chcore.c b/src/templates/chcore.c index 40dd4315b..c15f1c490 100644 --- a/src/templates/chcore.c +++ b/src/templates/chcore.c @@ -35,6 +35,7 @@ * put the processor in the lowest power mode capable to serve interrupts.
* The priority is internally set to the minimum system value so that this
* thread is executed only if there are no other ready threads in the system.
+ * @param p the thread parameter, unused in this scenario
* @note Implementation should declare this function as a weak symbol in order
* to allow applications to re-implement it.
*/
|