Groups | Blog | Home
all groups > dotnet compact framework > december 2007 >

dotnet compact framework : Interrupt Service Routine ISR on Compact Framework


HoustonK
12/25/2007 6:12:01 AM
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.

ctacke/
12/25/2007 9:54:42 PM
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




[quoted text, click to view]

HoustonK
12/27/2007 5:55:00 AM
Thx for comment.

I just want to find out more possible solution.

-KK

[quoted text, click to view]
HoustonK
12/27/2007 11:57:00 PM
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

[quoted text, click to view]
ctacke/
12/28/2007 9:20:03 AM
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?


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


[quoted text, click to view]

AddThis Social Bookmark Button