HighTechTalks DotNet Forums  

Interrupt Service Routine ISR on Compact Framework

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Interrupt Service Routine ISR on Compact Framework in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
HoustonK
 
Posts: n/a

Default Interrupt Service Routine ISR on Compact Framework - 12-25-2007 , 08:12 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.

Thank you for your help.

Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: Interrupt Service Routine ISR on Compact Framework - 12-25-2007 , 09:54 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




"HoustonK" <HoustonK (AT) discussions (DOT) microsoft.com> wrote

Quote:
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.



Reply With Quote
  #3  
Old   
HoustonK
 
Posts: n/a

Default Re: Interrupt Service Routine ISR on Compact Framework - 12-27-2007 , 07:55 AM



Thx for comment.

I just want to find out more possible solution.

-KK

"<ctacke/>" wrote:

Quote:
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




"HoustonK" <HoustonK (AT) discussions (DOT) microsoft.com> wrote in message
news:6B699E37-7291-4AE3-A5FB-3E856F782223 (AT) microsoft (DOT) com...
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.




Reply With Quote
  #4  
Old   
HoustonK
 
Posts: n/a

Default Re: Interrupt Service Routine ISR on Compact Framework - 12-28-2007 , 01:57 AM



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

"<ctacke/>" wrote:

Quote:
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




"HoustonK" <HoustonK (AT) discussions (DOT) microsoft.com> wrote in message
news:6B699E37-7291-4AE3-A5FB-3E856F782223 (AT) microsoft (DOT) com...
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.




Reply With Quote
  #5  
Old   
 
Posts: n/a

Default Re: Interrupt Service Routine ISR on Compact Framework - 12-28-2007 , 09:20 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


"HoustonK" <HoustonK (AT) discussions (DOT) microsoft.com> wrote

Quote:
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

"<ctacke/>" wrote:

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




"HoustonK" <HoustonK (AT) discussions (DOT) microsoft.com> wrote in message
news:6B699E37-7291-4AE3-A5FB-3E856F782223 (AT) microsoft (DOT) com...
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.






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.