working without OS...
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Jan 10 15:49:11 UTC 2002
Alexandre.Tarayre at space.alcatel.fr wrote:
>
> Hello,
>
> I'm working without OS and I would know how to :
>
> - setup a periodic interrupt that calls an operation every X ms,
> - enable interrupts,
> - disable interrupts.
>
> What are the C functions (or libraries) that permit to do that ?
If you do not have an OS, then you won't have these services unless
you implement them yourself.
With RTEMS, you can use the rtems_timer_* services to setup
and manage a routine that is invoked periodically.
The rtems_interrupt_* services manipulate interrupt disable levels.
> ALCATEL SPACE INDUSTRIES
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list