diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-12-01 19:51:21 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-12-01 19:51:21 +0200 |
| commit | 541f56269c598b3c3a9dc2574e5580efb369ab6b (patch) | |
| tree | 5b936042ff7cd222278e53015cd4d8e7f0b33694 /Software/Embedded_SW/Embedded/StateMachines | |
| parent | 5420708eee0e2a15bfb96338ac2026d108b14a3a (diff) | |
| download | Tango-541f56269c598b3c3a9dc2574e5580efb369ab6b.tar.gz Tango-541f56269c598b3c3a9dc2574e5580efb369ab6b.zip | |
version 1.5.3.3 - support new event - head open for flat.
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines')
| -rw-r--r-- | Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c b/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c index 38fa539a8..861ca4b56 100644 --- a/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c +++ b/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c @@ -1,32 +1,32 @@ /************************************************************************************************************************ * Printing.c - * High managment logical unit of slow motors in the system ( 6 dispensers and the screw motor) + * High management logical unit of slow motors in the system ( 6 dispensers and the screw motor) * profile run up begins from screw homing to begin position and only then from fast motors activation. - * when every slow motor tuches the limit switch (no matter whether its screw or dispenser) - * an interrupt occures in the system and as long as its pushing the limit switch all the system is prevented from operation. + * when every slow motor touches the limit switch (no matter whether its screw or dispenser) + * an interrupt occurred in the system and as long as its pushing the limit switch all the system is prevented from operation. * because of that the work flow with interrupts must be : * design a function handle (what to do in the moment the interrupt arrives) * configure the wanted interrupt in the cfg file (according to the defined port and pin and its interrupt number and the handler) - * enable interupt for predefined gpio in the application + * enable interrupt for predefined gpio in the application * when the interrupt arrives the handle will be automatically called * in case of the limit switches since the operation is continuess the interrupt must be disabled in order to continue the application running. * then the operation is not continues (like butten pushing) there is no need in disabling the interrupts * Printing module is responsible for : - * operating diffrent winding algorithms with predefined parameters from the UI + * operating different winding algorithms with predefined parameters from the UI * operating the dispensers according to predefined dispensing rate from the UI **************************************************************************************************************************/ ////////////////////////////////State machine operation//////////////////////////////////// //the state machine operation is used to operate in runtime correct profile flow execution -//by recieved esign flow of the user from the UI +//by received design flow of the user from the UI /////////////////////////////////////////////////////////////////////////////////////////// #include <Container.h> #include <DataDef.h> #include "include.h" -#include <ti/sysbios/knl/mailbox.h> -#include <ti/sysbios/knl/Clock.h> -#include <ti/sysbios/knl/task.h> +//#include <ti/sysbios/knl/mailbox.h> +//#include <ti/sysbios/knl/Clock.h> +//#include <ti/sysbios/knl/task.h> #include "Common/report/report.h" |
