This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

link list

Hello everyone,
I am studying link list in c
I have a project in which I have lookup table of rpm (clocks used to load the timer used for motor).
This rpm table, I am taking in an array
Now I want to implement a link list which will access the rpm from table and load it to timer of clock used for running the motor
Is it possible
Because as I am studying the link list, in that it is mentioned that link list is used instead of array
Is it possible to access an array elements using link list ?
If yes, then pls suggest me some link for it
Correct me if I am wrong
Thank u all

Parents
  • Erik,
    I DON'T want to annoy you, but a while ago I have posted this in response to one of your post (here:
    http://www.keil.com/forum/docs/thread12822.asp):

    with all due respect, if that does not fit into your perception of efficiency - then you must have a great time rewriting just about anything to win a pico-second here and there. no thanks...

    hell, if this guy wants to do it with lists, lets wish him all the best. I just finished a control program for a machine that uses polling only (I deliberately excluded interrupts for the control part) based on a C167CS processor, where the response time error doesn't matter that much (as long as it is plus minus 250 milliseconds). It's not like a GPS system - all it needs to do is control a couple of hydraulic valves and read position sensors. The real challenge was dealing with the trashy legacy software and to make it comply with safety standards. If it had not required rather extensive communication (interrupt based CAN, serial...) I think it could have been done with an 8 bitter as well. This is a typical non time-critical embedded application. It needs to work, be safe and comply with the requirements - not fight to squeeze every CPU cycle (unless they are included in the requirements, of course!).

Reply
  • Erik,
    I DON'T want to annoy you, but a while ago I have posted this in response to one of your post (here:
    http://www.keil.com/forum/docs/thread12822.asp):

    with all due respect, if that does not fit into your perception of efficiency - then you must have a great time rewriting just about anything to win a pico-second here and there. no thanks...

    hell, if this guy wants to do it with lists, lets wish him all the best. I just finished a control program for a machine that uses polling only (I deliberately excluded interrupts for the control part) based on a C167CS processor, where the response time error doesn't matter that much (as long as it is plus minus 250 milliseconds). It's not like a GPS system - all it needs to do is control a couple of hydraulic valves and read position sensors. The real challenge was dealing with the trashy legacy software and to make it comply with safety standards. If it had not required rather extensive communication (interrupt based CAN, serial...) I think it could have been done with an 8 bitter as well. This is a typical non time-critical embedded application. It needs to work, be safe and comply with the requirements - not fight to squeeze every CPU cycle (unless they are included in the requirements, of course!).

Children