Difference between POLLING & INTERRUPT ?

Author
SaiBot
Starting Member
  • Total Posts : 35
  • Reward points : 0
  • Joined: 2009/07/23 04:13:17
  • Location: Paris, France
  • Status: offline
2009/08/20 05:45:25 (permalink)
0

Difference between POLLING & INTERRUPT ?

Hello people!

somebody can explain to me the difference between the mode USB_POLLING  and USB_INTERRUPT ???
I know there is a better management of the bandwidth when USB_INTERRUPT is enable, but there is another difference ?

Thanks for your futur explanations!

SaiBot


#1

3 Replies Related Threads

    chinzei
    Super Member
    • Total Posts : 2250
    • Reward points : 0
    • Joined: 2003/11/07 12:39:02
    • Location: Tokyo, Japan
    • Status: offline
    RE: Difference between POLLING & INTERRUPT ? 2009/08/20 08:18:21 (permalink)
    0
    As for MCHPFSUSB v2.5, USB_INTERRUPT has no relation to USB bandwidth on the endpoints other than default one. Bulk and interrupt endpoints are handled in polling, either USB_INTERRUPT is enabled or not.

    When USB_INTERRUPT is enabled, USBDeviceTasks() is called from USB interrupt. And then, you are free from the requirement of 100 us polling interval on the superloop in main().

    Tsuneo
    #2
    DarioG
    leaving this planet
    • Total Posts : 53071
    • Reward points : 0
    • Joined: 2006/02/25 08:58:22
    • Location: porcodioland
    • Status: offline
    RE: Difference between POLLING & INTERRUPT ? 2009/08/20 14:51:57 (permalink)
    0
    thanks - not yet into 2.5 but useful to know.

    Dario Greggio
    --
    how does it feel, never having been loved? as life fades away, day after day, on this planet made of s h i t...

    #3
    SaiBot
    Starting Member
    • Total Posts : 35
    • Reward points : 0
    • Joined: 2009/07/23 04:13:17
    • Location: Paris, France
    • Status: offline
    RE: Difference between POLLING & INTERRUPT ? 2009/08/20 23:50:01 (permalink)
    0
    Ok thanks for your explanations Tsuneo!
    #4
    Jump to:
    © 2017 APG vNext Commercial Version 4.5