Function pointers can be used for a wide variety of applications including the implementation of state machines. Just like any tool, it may not always be appropriate to use function pointers for a ...
Raindrops on roses, and whiskers on kittens. They’re ok, but state machines are absolutely on our short list of favorite things. There are probably as many ways to implement a state machine as there ...
One of the most common applications for using function pointers is in task schedulers. Every embedded system contains some type of task scheduler whether it is a simple round robin loop or a state of ...