Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
HugeCode
Member
Posts: 112 Joined: Mon Dec 17, 2012 9:12 am
Post
by HugeCode » Tue Apr 02, 2013 11:19 am
Hi all. I have a simple newbie question. I read
this page and I found this:
Code: Select all
7. .........
8. Wait for an IRQ or poll
9. ...........
What will this IRQ signalize and what does it mean 'poll'? Why are there two possibilities?
Last edited by
HugeCode on Tue Apr 16, 2013 9:49 am, edited 1 time in total.
iansjack
Member
Posts: 4711 Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK
Post
by iansjack » Tue Apr 02, 2013 11:58 am
Mikemk
Member
Posts: 409 Joined: Sat Oct 22, 2011 12:27 pm
Post
by Mikemk » Tue Apr 02, 2013 6:47 pm
The IRQ means that the drive will tell the PIC to tell the CPU to call your interrupt handler
Polling is repeatedly checking the status register
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check
this out.