Interrupt Service Routine ISR on Compact Framework

H

HoustonK

Hi,

I enabled compact framework 2.0 on WINCE. Just wonder to find out is there
ISR can be handled from compact framework, is there API provided?

Or is it I need to build ISR dll from WINCE, and call from the compact
framework?

Currently, I am assigning one thread on my compact framework to capture the
serial input.

Thank you for your help.
 
G

Guest

ISR, no not possible. Now you can do an IST, but I can't say that I'd
consider it wise. In fact I consider it unwise enough that though I know
how to do it, I'm not going to elucidate without knowing a *lot* more about
how you intend to use it. It's generally not a good idea.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
H

HoustonK

Hi,

Can you enlightened me where I can get some study material IST with compact
framework?

Do I need to create a library from my windows CE5? So, the compact framework
to link up with IST?

Thank you.

-KK
 
G

Guest

Again, it's generally a very bad idea. I'd go so far as to say that the only
people that should even consider it would be those who know both the APIs
for initializing and hooking interrupts, as well as how to P/Invoke them
from managed code. In short, the fact you're asking how it's done tells me
you don't know enough about the OS to prevent yourself from getting into
serious trouble trying to do it.

Why do you want to do it in C# and not in C anyway?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top