Go to the source code of this file.
Macros | |
| #define | stepperTimeOffsetSlow 0x800; |
| #define | stepperTimeOffsetFast 0x100; |
Functions | |
| void | setupTimer0 () |
| void | stepperAdvance () |
Variables | |
| bool | timerCompareStepperSpeedToggle |
| #define stepperTimeOffsetFast 0x100; |
Definition at line 15 of file stepperAdvance.h.
Referenced by ISR_TA0().
| #define stepperTimeOffsetSlow 0x800; |
Definition at line 14 of file stepperAdvance.h.
Referenced by ISR_TA0(), and setupTimer0().
| void setupTimer0 | ( | ) |
Setup of timer0, uses the the ACLK (Auxiliary clock), counts up continuous. Capture control registers
Definition at line 26 of file timer.c.
References pwmPeriod_cycles, and stepperTimeOffsetSlow.
Referenced by main().
| void stepperAdvance | ( | ) |
Definition at line 23 of file stepperAdvance.c.
References mechanicalTimeFloat, STEPPER1, STEPPER2, STEPPER3, STEPPER4, stepperArray, stepsRemaining, timePerStep, toggleCalculateTimeDifference, toggleFwdInterrupt, toggleFwdInterruptISR, UART_SendString(), UART_SendTime(), UART_SendUint32(), and write_SegD().
Referenced by ISR_TA0().
| bool timerCompareStepperSpeedToggle |
Definition at line 17 of file stepperAdvance.h.
Referenced by calculateTimeDifference(), ISR_TA0(), and port2ISR().