Go to the source code of this file.
Data Structures | |
| struct | STEPMOTOR_CONTROL |
| struct | MOTOR_EVENT |
Functions | |
| void | F_MotorPowerOnInit (void) LargeReentrant |
| void | F_MotorSvc (void) LargeReentrant |
| void | F_MotorDirectionSet (INT8U Direction) LargeReentrant |
| INT8U | F_MotorEventCheck (void) LargeReentrant |
| void | F_MotorCommandSet (INT8U **pArgv, INT8U Argc) LargeReentrant |
Variables | |
| struct STEPMOTOR_CONTROL | StepMotorCtrl |
| struct MOTOR_EVENT | MotorEvent |
Definition at line 187 of file motor.c.
References F_MotorDirectionSet(), and MotorCommandList.
Referenced by F_ShellSvc().
| void F_MotorDirectionSet | ( | INT8U | Direction | ) |
Definition at line 149 of file motor.c.
References MOTOR_EVENT::Data, MOTOR_EVENT::EventType, MOTOR_EVENT::HasEvent, LcmChar, MotorEvent, and MOTOR_EVENT::RwFlag.
Referenced by F_MotorCommandSet().
| INT8U F_MotorEventCheck | ( | void | ) |
| void F_MotorPowerOnInit | ( | void | ) |
Definition at line 30 of file motor.c.
References MOTOR_EVENT::Data, MOTOR_EVENT::EventType, MOTOR_EVENT::HasEvent, MotorEvent, MotorPhase_A, MotorPhase_AX, MotorPhase_B, MotorPhase_BX, MOTOR_EVENT::RwFlag, STEPMOTOR_CONTROL::State, StepMotorCtrl, and STEPMOTOR_CONTROL::Timer.
Referenced by F_MotorTaskInit().
| void F_MotorSvc | ( | void | ) |
| struct MOTOR_EVENT MotorEvent |
Definition at line 24 of file motor.c.
Referenced by F_MotorDirectionSet(), F_MotorEventCheck(), and F_MotorPowerOnInit().
| struct STEPMOTOR_CONTROL StepMotorCtrl |
Definition at line 23 of file motor.c.
Referenced by F_MotorPowerOnInit(), F_MotorTask(), and IsrTimer0().
1.5.6