Silicon Laboratories Stepper Machine Manuale Utente Pagina 20

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 36
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 19
AN155
20 Rev. 1.1
Figure D3. Timer ISR
Timer_ISR
forward ?
increment StepIndex.
increment position.
done ?
get value from table.
multiply by Tzero.
write value to timer.
decrement StepIndex.
decrement position.
decrement
slewCount.
Return from
Interrupt
Y
Y
N
get StepPattern using index.
write pattern to P0.
evaluate motor state.
accelerate?
else
decelerate?
decrement
TableIndex.
increment
TableIndex.
set ET0
clear ET0.
stop T0.
turn-off LED.
set doneFlag.
Y
Y
else
slewing?
Y
N
N
N
N
Vedere la pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 35 36

Commenti su questo manuale

Nessun commento