Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Interrupts, Hardware

[es] :: C/C++ programiranje :: Interrupts, Hardware

[ Pregleda: 2368 | Odgovora: 6 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

skrstevsky
student

Član broj: 181789
Poruke: 9
92.53.47.*



Profil

icon Interrupts, Hardware19.05.2008. u 23:55 - pre 193 meseci
Ako ima nekade kniga a site hardverski prekini za da gi obrabotam vo C/C++ ?
Nesto kako kaj PIC so prekinite....
 
Odgovor na temu

POW R TOC H
Dark Side of The Moon

Član broj: 174541
Poruke: 31
*.cpe.vektor.net.



Profil

icon Re: Interrupts, Hardware20.05.2008. u 00:02 - pre 193 meseci
Ne znam sta pitas | I have no idea what you're talking about
Molim te, srpski ili engleski | Please, Serbian or English
 
Odgovor na temu

skrstevsky
student

Član broj: 181789
Poruke: 9
92.53.47.*



Profil

icon Re: Interrupts, Hardware20.05.2008. u 00:13 - pre 193 meseci
I need a book about Hardware Interrupts in computers. Something like the interrupts in PIC microcontrolers.
Example:When you insert USB Stick in the USB Port, the OS knows that it is an USB Device. You don't need to click anywhere or in your program to check all the time if there is a device.... It jyst tells that there is something... and you should process it.

Need to Explain more ?
 
Odgovor na temu

POW R TOC H
Dark Side of The Moon

Član broj: 174541
Poruke: 31
*.cpe.vektor.net.



Profil

icon Re: Interrupts, Hardware20.05.2008. u 00:36 - pre 193 meseci
No, that's explained enough. By the way, what was that language you were speaking? I can understand only a few words...

Try this :
http://cnx.org/content/m12321/latest/
www.geocities.com/vsurducan/electro/PIC/lesson1-introduction.pdf
http://www.phanderson.com/PIC/16C84/interrupts/interrupt_1.html
http://www.hobbyprojects.com/pic_tutorials/tutorial11.html
 
Odgovor na temu

skrstevsky
student

Član broj: 181789
Poruke: 9
92.53.47.*



Profil

icon Re: Interrupts, Hardware20.05.2008. u 03:29 - pre 193 meseci
I am lookinkg for a book, not fot PIC, for computers. I mention the interrupts in PIC's just to make a comparation. For example, if we use the interrupt for RB0 (when gets from 0 to 1): When it does changed, it doesn't matter where are you in the program, it just jump on adrees 0x04 and do the job whaat it should do. You don't "say" all the time
...
if (PORTB!=0x80)
{
.
// RB0 is 0 (No interrupt
.
}
else
{
.
//s holud be interrupt
.
}
you just set the bits in the registers it goes like this:



org 0x04{

code....
}

.
asm nop
code
code
code
//somehow RB0 is being changed to 1 and then then the Program Counter jumps on address 0x04.
code...
..
.


You've got interrupts like this in computers. The simplest one is on keyboard. For example if you press the Power button the PC is shutting down. You are not checking if the button is pressed... when you press it, the OS know what to do, reads the interrupt....

P.S.It was macedonian :) moji srpski je mnogu los :)

[Ovu poruku je menjao skrstevsky dana 20.05.2008. u 04:40 GMT+1]
 
Odgovor na temu

maksvel

Član broj: 107376
Poruke: 2417

Jabber: maksvel
Sajt: maksvel.in.rs


+161 Profil

icon Re: Interrupts, Hardware20.05.2008. u 21:57 - pre 193 meseci
Ima ponešto u Linux device drivers u poglavlju Interrupt handling
 
Odgovor na temu

skrstevsky
student

Član broj: 181789
Poruke: 9
92.53.47.*



Profil

icon Re: Interrupts, Hardware21.05.2008. u 00:37 - pre 193 meseci
OK, ima nesto sto koristi...

fala
 
Odgovor na temu

[es] :: C/C++ programiranje :: Interrupts, Hardware

[ Pregleda: 2368 | Odgovora: 6 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.