new

Dependencies:   mbed CANMsg

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers timeandtick.hpp Source File

timeandtick.hpp

00001 Ticker TBticker;        // instance clock for seeding stepper
00002 Ticker TATicker;        // instance clock for seeding stepper
00003 Timer  speedTimer;      // timer for reading time interval between speed pulse to calculate speed 
00004 Timer intraPickTimer;   // timer for reading interval time from two picks
00005 //Timer intraEncoTimer;   // timer for reading interval time from two clock of DC encoder
00006 Ticker SDticker;        // instance clock for Seed wheel virtual encoder
00007 Ticker tftUpdate;       // ticker for update data of display
00008 Ticker sincUpdate;      // ticker for update CAN data for quinconce sincronisation
00009 Ticker currentCheck;    // ticker for verify DC motor current absorbtion
00010 Timer  speedTimeOut;    // timer for stop motor after last speed pulse
00011 Timer speedFilter;      // timer for speed trigger filtering
00012 Timer seedFilter;       // timer for picks signal filtering
00013 Timer TBfilter;         // timer for cells signal filtering
00014 Timer sincroTimer;      // timer for picks real interval time 
00015 Timer rotationTimeOut;  // timer for seed wheel zero timeout
00016 Ticker canUpdate;       // timer for update standard CAN data
00017 Ticker seedCorrection;  // ticker for run task which correct seeding sincronisation
00018 Ticker spedSimclock;    // ticker for simulating speed
00019 Timeout timeout;        // timeout for check DC current absorbion PWM sincronised 
00020 Timer ritardoStop;      // timer for control DC stop sequence
00021 Timer ritardoComandoStop;// timer for control DC stop sequence
00022 Timer avvicinamentoOn;  // timer for control DC stop sequence
00023 Timer avvicinamentoOff; // timer for control DC stop sequence
00024 Timer ritardaLowSpeed;  // timer for switch delay from low speed to normal speed 
00025 Timer metalTimer;       // timer for reading time from two hole into seed wheel
00026 Timer timeOutZeroSD;    // time out for zero cycle of SD
00027 Timer quincTime;        // timer for reading time from master picks and slave picks signal
00028 Timer quincTimeSD;      // timer for reading time from slave picks and master picks signal
00029 Timer SDwheelTimer;     // timer for alarm generation for SD wheel
00030 Timer quincTimeSet;     // timer for SD fase stop position when quinconce activated
00031 Timer zeroDelay;        // timer for activate zeroig cycle after tractor stop
00032 Timer timeCurr;         // timer delay for DC overcurrent alarm generation
00033 Timer delaySeedCheck;   // timer per il controllo di presenza seme su collettore