Shop OBEX P1 Docs P2 Docs Learn Events
SX/B Tutorial on Interrupts — Parallax Forums

SX/B Tutorial on Interrupts

John CoutureJohn Couture Posts: 370
edited 2011-08-08 19:20 in General Discussion
Recently I needed to use an interrupt for a project and I dove in and learned enough to be dangerous.· Attached is a pretty simple·tutorial that should help anyone that is having difficulty with interrupts.· File is 4 page·pdf (this bbs does not allow the upload of html).

updated 04/03/2010 18:32 pdt

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John J. Couture

San Diego Miramar College

Post Edited (John Couture) : 4/5/2010 1:32:09 AM GMT

Comments

  • JonnyMacJonnyMac Posts: 8,924
    edited 2010-04-05 23:32
    Since you're using SX/B you may want to explain the RATE parameter of the INTERRUPT keyword -- automates the setting of the OPTION register and prevents recalculation when you make a change in system frequency or the interrupt rate.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon McPhalen
    Hollywood, CA
  • John CoutureJohn Couture Posts: 370
    edited 2010-04-09 17:47
    Good suggestion, Thank you Jon.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2010-04-10 03:10
    I'm waiting for the next chapter (it was mentioned twice.)· !

    Will it be out before that SX/B book is released?
  • John CoutureJohn Couture Posts: 370
    edited 2010-04-10 23:21
    As I am employing a roomfull of monkeys typing random characters, I suspect that "the book" will take a while (statictically speaking). I have the next chapter about half done. Give me a week and I should have something to post.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
  • John CoutureJohn Couture Posts: 370
    edited 2011-08-06 11:56
    Port-Interrupts.pdfThe first tutorial above was about RTCC Interrupts (Timed Interrupts). Here is the next chapter on Port Triggered Interrupts. Sorry it took so long, I wrote this a long time ago and must have forgotten to upload it to this forum.
  • wasswass Posts: 151
    edited 2011-08-08 19:20
    I'm glad that you remembered, it's a great refresher/reminder of how the SX does it's interrupt processing. Thank you!

    -Katie
Sign In or Register to comment.