diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-04-18 13:58:47 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-04-18 13:58:47 +0300 |
| commit | 17c5673ea81fbc79043b8e08301d9b0b1f3457b2 (patch) | |
| tree | 98ffb1d90365a49c201216ef813745f0696a0811 /Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.h | |
| parent | e54e02e3880e7766074325d13391527f811521e3 (diff) | |
| download | Tango-17c5673ea81fbc79043b8e08301d9b0b1f3457b2.tar.gz Tango-17c5673ea81fbc79043b8e08301d9b0b1f3457b2.zip | |
Control fixes (Encoders, Motors and more) and FPGA preparations
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.h')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.h b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.h index 0c9d66201..fde3a36b3 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.h +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.h @@ -13,13 +13,13 @@ #include "drivers/Motors/Motor.h" #include "drivers/Heater/TemperatureSensor.h" +typedef uint32_t (* MSecFptr)(uint32_t deviceID, uint32_t ReadValue); +int32_t MillisecWriteToMotor(TimerMotors_t MotorId, unsigned long Data, int Length, MSecFptr Callback); + uint32_t getMotorStatusData(int MotorId); uint32_t getMotorSpeedData(int MotorId); uint32_t getTemperatureSensorData(int SensorId); uint32_t getADCData(int DeviceId); - - - #endif /* MODULES_CONTROL_MILLISECTASK_H_ */ |
