aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-30 10:09:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-30 10:09:04 +0000
commite1b458b2b81db0d28ea4d97a3c10abce05555930 (patch)
tree603c39481d901af454ddcbdbcb9fcccd4d5b8ae1 /src
parent82585c79fe50b098ecdf48e1e6dae7e2909a8fd0 (diff)
downloadChibiOS-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')
-rw-r--r--src/lib/ch.hpp7
-rw-r--r--src/templates/chcore.c1
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.
*/