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

How to read port pins in port(P0,1,2)?

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

Parents
  • "I REALLY wonder what legit purpose self modifying code has today with nanosecond cycle times."

    Self-modifying code can still be relevant today. You can squeeze extra speed out of an expensive graphics filter after you know what matrix weights that are zero. Whenever you have some form of vector processing where a huge amount of data needs to be processed, based on a user-editable configuration, there can be great opportunities for speedup. Of course, it requires that the platform can get both write and execute access to the memory region used.

Reply
  • "I REALLY wonder what legit purpose self modifying code has today with nanosecond cycle times."

    Self-modifying code can still be relevant today. You can squeeze extra speed out of an expensive graphics filter after you know what matrix weights that are zero. Whenever you have some form of vector processing where a huge amount of data needs to be processed, based on a user-editable configuration, there can be great opportunities for speedup. Of course, it requires that the platform can get both write and execute access to the memory region used.

Children
No data