hello,
what i wanna try to do is: when i connect my own device to pc (via USB), instead of polling (which asks a lot of processor speed of my pc), isnt there a possibility to let my device generate interrupts to my pc so that my pc only does a specific action only when the interrupt (or whatelse) is given. Programming my microcontroller will not be a problem, but how about on PC-side ?
i know that with a serial port this is possible, but with usb ???
but it has to be possible because image an usb mouse; i cannot imagine that my pc polls constantly to my mouse if movement happened... it must be the mouse that generates an interrupt (or whatever) itself.
think i will have to write a driver for it also, or is an C++ application enough?
i have searched already a lot on the internet, but cannot find much.
can you give me some more idea's, good sites (eventually books) about what i'm trying to do?
thanks in advance
what i wanna try to do is: when i connect my own device to pc (via USB), instead of polling (which asks a lot of processor speed of my pc), isnt there a possibility to let my device generate interrupts to my pc so that my pc only does a specific action only when the interrupt (or whatelse) is given. Programming my microcontroller will not be a problem, but how about on PC-side ?
i know that with a serial port this is possible, but with usb ???
but it has to be possible because image an usb mouse; i cannot imagine that my pc polls constantly to my mouse if movement happened... it must be the mouse that generates an interrupt (or whatever) itself.
think i will have to write a driver for it also, or is an C++ application enough?
i have searched already a lot on the internet, but cannot find much.
can you give me some more idea's, good sites (eventually books) about what i'm trying to do?
thanks in advance