Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to fire a funtion

Status
Not open for further replies.

piedos

Newbie level 4
Newbie level 4
Joined
Sep 11, 2006
Messages
7
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,313
Hello,

I need a program like

fire(ret_z=any_function(int x, char * y), 200);

which calls any_function after 200 milliseconds by timer interrupt. ayn_function can be printf, my_function, etc.

return_z and inputs x and y (which may increase according to function to be called) are global variables.

How can I build this function

I couldn't find open source of printf funtion. This function can handle varying type/length input parameters. I think open source of printf may help to solve problem.

Thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top