From: Sebastian Smolorz <smolorz@domain.hid>
To: Zara Tustra <zarawesome@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] timed looping task in device driver
Date: Fri, 06 Feb 2009 10:24:16 +0100 [thread overview]
Message-ID: <498C01C0.8010607@domain.hid> (raw)
In-Reply-To: <57e813c90902051622i1087er626e00fe9f65fa7@domain.hid>
Zara Tustra wrote:
> How would I set up a task that, say, turns a led on and off every second, in
> a device driver (module)? I've tried using rtdm_task_init and it's
> successful, but when I use rtdm_task_wait_period, it returns -EINVAL.
Xenomai has a useful API documentation where all API calls and the
return values are well explained. For your case see
http://www.xenomai.org/documentation/branches/v2.4.x/html/api/group__rtdmtask.html#g577886a7588cdceac10f1b7b6ffcd1c7
--
Sebastian
next prev parent reply other threads:[~2009-02-06 9:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-06 0:22 [Xenomai-help] timed looping task in device driver Zara Tustra
2009-02-06 9:24 ` Sebastian Smolorz [this message]
2009-02-06 10:35 ` Zara Tustra
2009-02-06 11:40 ` Sebastian Smolorz
2009-02-06 12:22 ` Zara Tustra
2009-02-06 12:37 ` Sebastian Smolorz
[not found] ` <57e813c90902060815m1d6a6642re65481fc47874ae6@domain.hid>
2009-02-09 9:09 ` Sebastian Smolorz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=498C01C0.8010607@domain.hid \
--to=smolorz@domain.hid \
--cc=xenomai@xenomai.org \
--cc=zarawesome@domain.hid \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.