diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-30 10:09:04 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-30 10:09:04 +0000 |
commit | e1b458b2b81db0d28ea4d97a3c10abce05555930 (patch) | |
tree | 603c39481d901af454ddcbdbcb9fcccd4d5b8ae1 /src/lib/ch.hpp | |
parent | 82585c79fe50b098ecdf48e1e6dae7e2909a8fd0 (diff) | |
download | ChibiOS-e1b458b2b81db0d28ea4d97a3c10abce05555930.tar.gz ChibiOS-e1b458b2b81db0d28ea4d97a3c10abce05555930.tar.bz2 ChibiOS-e1b458b2b81db0d28ea4d97a3c10abce05555930.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@561 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/lib/ch.hpp')
-rw-r--r-- | src/lib/ch.hpp | 7 |
1 files changed, 7 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) {
|