[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] How to handle interrupt vectors ?

From: Charalampos Alexopoulos
Subject: [avr-gcc-list] How to handle interrupt vectors ?
Date: Tue, 28 Oct 2008 18:25:36 +0200
User-agent: Thunderbird (X11/20080421)

I have only basic knowledge of c++. What i want to do is to make a
constant member of a class to point an interrupt vector. Something like :

class Timer0:
          static const vector overflow = _VECTOR(9);

and then in my main programm to use it as :

int main(void)
      // some code here


I read a lot the last few days but i remain clueless on the vector
handling. The best i can wish is somebody to give me an example of how
to do it, but i will be thankfull even with a suggestion for further
reading on topoic.

Thank you in advance
Charalampos Alexopoulos

reply via email to

[Prev in Thread] Current Thread [Next in Thread]