Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSP430F44 & Thermistor code

Status
Not open for further replies.

cpen2006

Programmer
Jan 19, 2006
3
US
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.
 
> there are some unexplainable errors
Are they secret error messages or something?

Also, use [code][/code] tags for code.

--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top