I would like to call function like port(P0,1,2).i want to assign the values of 0 and 1 to P0.1 and P0.2 using that function prototype only...how can i assign the values to port pins.what are the steps i need to follow...
Thanks in advance
chinnaye
Well that thesis should - if it cared about this kind of embedded processors - have noted the big issues with wear and speed for rewriting flash data. Self-modifying code is only relevant when the processor supports running of code in RAM.
look mate. you dont know what my thesis says cause you havent seen it! i just said you can do it here. not my fault that some random guy jumps in and says you cant when you can. sure ram is better but other way works too.
Well that thesis should - if it cared about this kind of embedded processors - have noted the big issues with wear and speed for rewriting flash data who cares, the issue is to get a thesis written, if it has a practical application (can be used in actual projects) is irrelevant.
Erik
The important thing here is that self-modifying code in flash is really irrelevant for a case where a port pin needs to be toggled. Even doing a pin toggle once/day multiplied with two different pins, would result in 700 flash erase cycles/year.
you are very negative. use some imagination. maybe you should read my thesis. you could learn a lot.