void mci_retry_run(void)
mci_retry_run retry to run if speed is null
void mci_set_motor_speed(U8 speed)
Bool mc_motor_is_running(void)
get the motor state
U16 mci_get_measured_current(void)
Get the current measured in the motor.
void mci_set_speed(U16 speed)
Bool mci_direction
User Input parameter to set motor direction.
void mci_stop(void)
mci_stop stop the motor And reset the speed measured value.
Bool mci_run_stop
User Input parameter to launch or stop the motor.
void mci_run(void)
mci_run run the motor with parameter
void mc_set_motor_measured_speed(U8 measured_speed)
set Measured of speed (for initialization)
void mc_set_potentiometer_value(U8 potentiometer)
Set the 'mc_potentiometer_value' variable with the potentiometer value.
U8 mc_get_motor_direction(void)
void mci_store_measured_current(U16 current)
Set the variable 'mc_measured_current' for initialization.
void mc_init(void)
use to init programm
U8 mci_get_measured_speed(void)
Measured of speed.
U8 mc_get_motor_speed(void)
U8 mc_get_potentiometer_value(void)
Get the potentiometer value.