MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / stop_motor

Function stop_motor

FluxEngine.cydsn/main.c:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169static void stop_motor(void)
170{
171 if (motor_on)
172 {
173 MOTOR_REG_Write(0);
174 DRIVESELECT_REG_Write(0); /* deselect all drives */
175 motor_on = false;
176 }
177}
178
179static void wait_until_writeable(int ep)
180{

Callers 4

set_drive_flagsFunction · 0.85
cmd_measure_voltagesFunction · 0.85
detect_drivesFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected