Thread: Calling Interrupt

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    54

    Calling Interrupt

    Hello All,

    Please help me! I want to make an interrupt, but I don't know how to implement it in main(). For example, I want to create an interrupt for the watchdogtimer that clear the counter to 0 every 3ms and call this interrupt in main(). Thanks in advance!

    Rabbit

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    A good document on using interrupts:

    http://nondot.org/sabre/os/files/MiscHW/CP_interupt.pdf

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    54
    Thank you Shiro!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pointer within a Struct
    By Bladactania in forum C Programming
    Replies: 11
    Last Post: 04-03-2009, 10:20 PM
  2. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM
  3. interrupt handler functions in Visual C++ 6.0
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 01-07-2002, 07:06 PM
  4. Sound card interrupt problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-05-2001, 04:38 AM
  5. Calling ISR w/o interrupt
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 11-02-2001, 05:29 PM