But that file won't necessarily have the right values for the F2013.  For
that chip, I suspect you want msp430x20x3.h.  Without looking at the
datasheet, I'm reasonably sure the 2013 doesn't have an ADC12_PLUS or even
an ADC12.

Peter

On Fri, Jun 4, 2010 at 12:04 PM, Paul F. Sehorne <[email protected]> wrote:

> You will find ADC12_VECTOR and other vectors listed in cc430_.h in
> msp430/include in the MSPGCC4 directory structure.
>
> Paul
>
> On 6/4/2010 9:26 AM, Vic wrote:
> > Hi All.
> >
> > I'm brand new to writing for the MSP430 - I've got "hello world" working,
> > and that's about it.
> >
> > I'm trying to write an interrupt handler to catch the conversion event
> > from the ADC on my F2013. The mspgcc manual says that my handler should
> be
> > of the form :-
> >
> > interrupt (INTERRUPT_VECTOR) IntServiceRoutine(void)
> > {
> >      /* Any normal C code */
> > }
> >
> > ...Which is all well and good, but what do I use for INTERRUPT_VECTOR ?
> > I've tried a number of things, resulting in compiler warnings of the form
> > :-
> >
> > temp.c:219: warning: Interrupt vector 0x8f62d8d assigned to ISR `adc_isr'
> > is invalid.
> >
> > Doubtless this also involves a header file issue - but I don't really
> know
> > what I'm doing here. What should I be including for the F2013?
> >
> > Thanks for your assistance, and sorry for the rather basic level of my
> > incompetence :-)
> >
> > Vic.
> >
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

Reply via email to