This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: eCos heartbeat function handler


On Sun, 2009-07-19 at 10:18 +0200, Andrew Lunn wrote:
> > 2) Where should I specify (some assembler file...) which function to
> > call on each heartbeat?
> 
> Take a look at:
> 
> http://ecos.sourceware.org/docs-latest/user-guide/clocks-and-alarm-handlers.html
> 
> Call 
> cyg_alarm_initialize(test_alarmH, cyg_current_time()+1, 1);
> 
> and you alarm function will be called every tick.
> 
>     Andrew
> 
Hi Andrew 

Can you respond to me directly?

Thank you.
-- 
Ormund Williams
OrmLab LLC


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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