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 189 of file motor.c.
References F_MotorDirectionSet(), and MotorCommandList.
Referenced by F_ShellSvc().
void F_MotorDirectionSet | ( | INT8U | Direction | ) |
Definition at line 151 of file motor.c.
References MOTOR_EVENT::Data, MOTOR_EVENT::EventType, MOTOR_EVENT::HasEvent, LcmChar, MotorEvent, and MOTOR_EVENT::RwFlag.
Referenced by F_IrdaSvc(), and F_MotorCommandSet().
INT8U F_MotorEventCheck | ( | void | ) |
void F_MotorPowerOnInit | ( | void | ) |
Definition at line 29 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_SysPowerOnInit().
void F_MotorSvc | ( | void | ) |
Definition at line 44 of file motor.c.
References MOTOR_EVENT::EventType, MOTOR_EVENT::HasEvent, MotorEvent, MotorPhase_A, MotorPhase_AX, MotorPhase_B, MotorPhase_BX, STEPMOTOR_CONTROL::State, StepMotorCtrl, and STEPMOTOR_CONTROL::Timer.
Referenced by F_SysPowerOnInit().
struct MOTOR_EVENT MotorEvent |
Definition at line 23 of file motor.c.
Referenced by F_MotorDirectionSet(), F_MotorEventCheck(), F_MotorPowerOnInit(), and F_MotorSvc().
struct STEPMOTOR_CONTROL StepMotorCtrl |
Definition at line 22 of file motor.c.
Referenced by F_MotorPowerOnInit(), F_MotorSvc(), and IsrTimer0().