I have a question about embedded C programming. I need to program drivers for a robot . I use the microprocessor freescale mc9s12c32.
the controller for the motor is the SN754410.
Here is the problem:
( I gave the whole problem so that you have an idea. the issue is the function in bold)
Motor I/O Driver. Write a motor driver module to drive the left and right motors. The module should provide at least the following operations (you may customize/combine/add to these as you see fit):