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 create a weak function in Cx51

How do I create a weak function via Keil Cx51?

Parents
  • If you really want to do it, then an alternative might be to simply have your code module contain a function to set a callback function pointer and call that function if (for example) non-null. OK, pointers in C51 aren't very efficient, but I suspect your application doesn't go for being ultra efficient.

Reply
  • If you really want to do it, then an alternative might be to simply have your code module contain a function to set a callback function pointer and call that function if (for example) non-null. OK, pointers in C51 aren't very efficient, but I suspect your application doesn't go for being ultra efficient.

Children
No data