29 TA0CTL = TASSEL_1 | MC_2| TACLR | TAIE | ID_0;
38 TA0CTL = TASSEL_1 | MC_2 | TAIE | ID_3;
45 TA0CTL = TASSEL_1 | MC_2 | TAIE | ID_0;
51#pragma vector=TIMER0_A0_VECTOR
59#pragma vector=TIMER0_A1_VECTOR
62 static unsigned int indicatorCount;
63 static unsigned int togglePwm;
64 switch(__even_in_range(TA0IV, 0x14 ))
102 default: _never_executed();
121 #warning "When using PCB divide by 1. When using MSP-EXP430G2ET devboard pins on devboard are not connected to LFXTAL internal clock should be used"
139#pragma vector=TIMER1_A0_VECTOR
153#pragma vector=TIMER1_A1_VECTOR
156 switch(__even_in_range(TA1IV, 0x0E ))
164 default: _never_executed();
void startAdcConv()
Start the ADC conversion'(s), gets called when end interrupt of ISR_TA0(void) is reached.
bool timerCompareStepperSpeedToggle
#define stepperTimeOffsetSlow
#define stepperTimeOffsetFast
uint32_t timeSinceLastCompleteDcfMessage
bool toggleCalculateTimeDifference
void calculateTimeDifference()
calculate the difference between the mechanical time and the current time to have the time difference...
volatile bool toggleTimer1Direction
__interrupt void ISR_TA0(void)
Interrupt vector of timer0 CCR1 till CCR2 and TA0IFG.
__interrupt void ISR_TA0_CCR0(void)
Interrupt vector of timer0 CCR0.
__interrupt void ISR_TA1_CCR0(void)
Interrupt vector of timer1 CCR0.
__interrupt void ISR_TA1(void)
Interrupt vector of timer1 CCR1 till CCR2 and TA0IFG.