This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Timer tick length


> While it looks like both of these could be made to work, I
> think there is a need for a macro that can be used to create a
> compile-time constant that represents the number of ticks
> required for a specified period of time -- something that could
> be used inside an ISR without worrying about the execution
> speed, or could be used as a static initializer.

Something like the Linux Kernel HZ would be good. 

        Andrew

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]