Re: Does .S files defines and implements some fuctions for the ISR?
- From: "Peter King" <wangzilue@xxxxxxx>
- Date: Mon, 19 Jun 2006 18:56:49 +0800
Hi Valter,
When I write the MC8051 program,there is buffer to recive or send the date
in the UART communication.And if there is date recived we can read the
buffer directly instead of reading the bit one by one according to the
timing graph.
However,Does the WinCE driver program have the same mechanism as MC8051?
If yes ,generally where is the buffer defined?
If the ISR doesn't copy the data from register to buffer,
which code implement this function ?
How does the chip read the data ?Is it one bit by one
bit,or read the buffer?
thanks a lot,
Peter
The ISR should simply recognize the interrupt, disable it, and return
a code (SYSINTR) to the system. Usually a typical ISR checks the
interrupt source, disable the specific interrupt and return a SYSINTR
code.
You may find a sample of it in your BSP!
On wich platform are you working?
On this link
http://bsa1981.altervista.org/intrdemo.zip
you may find a simple flash presentation that shows how you could add
the handling of a new interrupt to the mainstone II BSP.
It explains only the ISR, but if you need it I can send you also a
simple IST application.
--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non ?valido)
.
- Follow-Ups:
- Re: Does .S files defines and implements some fuctions for the ISR?
- From: Valter Minute
- Re: Does .S files defines and implements some fuctions for the ISR?
- References:
- Does .S files defines and implements some fuctions for the ISR?
- From: Peter King
- Re: Does .S files defines and implements some fuctions for the ISR?
- From: Valter Minute
- Re: Does .S files defines and implements some fuctions for the ISR?
- From: Peter King
- Re: Does .S files defines and implements some fuctions for the ISR?
- From: Valter Minute
- Does .S files defines and implements some fuctions for the ISR?
- Prev by Date: Re: Mounting a USB Camera as an external hard-drive
- Next by Date: Unexpected SETPOWERMANAGEMENT behaviour on WinMobile 5.0
- Previous by thread: Re: Does .S files defines and implements some fuctions for the ISR?
- Next by thread: Re: Does .S files defines and implements some fuctions for the ISR?
- Index(es):
Relevant Pages
|