I am currently working on a design that includes the MSP430F44 processor with an added 10k thermistor resistor. I have also downloaded some code from the TI.com site in hopes that I could get something to work. However I'm having some trouble with a few lines of the code; there are some unexplainable errors, which I cannot resolve.
(this portion of the code is returning some syntax errors)
...
// Timer A0 interrupt service routine
#pragma vector=TIMERA0_VECTOR
__interrupt void Timer_A0(void)
{
_BIC_SR_IRQ(LPM3_bits); // Exit LPM3 after reti
}
// Timer A1 interrupt service routine
#pragma vector=TIMERA1_VECTOR
__interrupt void Timer_A1(void)
{
_BIC_SR_IRQ(LPM0_bits); // Exit LPM0 after reti
CCTL1 &= ~CCIFG; // Clear CCR1 interrupt flag
}
...
here is the page where I got the code from:
if any one might have an idea to what might be causing these errors, please feel free to share your ideas.
(this portion of the code is returning some syntax errors)
...
// Timer A0 interrupt service routine
#pragma vector=TIMERA0_VECTOR
__interrupt void Timer_A0(void)
{
_BIC_SR_IRQ(LPM3_bits); // Exit LPM3 after reti
}
// Timer A1 interrupt service routine
#pragma vector=TIMERA1_VECTOR
__interrupt void Timer_A1(void)
{
_BIC_SR_IRQ(LPM0_bits); // Exit LPM0 after reti
CCTL1 &= ~CCIFG; // Clear CCR1 interrupt flag
}
...
here is the page where I got the code from:
if any one might have an idea to what might be causing these errors, please feel free to share your ideas.