Making an interrupt and polling bits for RS232 communication under Win32

Status
Not open for further replies.

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
674
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Germany
Activity points
6,406
Hi

I used dos mode for interfacing with RS232
under dos I can make an interrupt to sense Rx of data and also I can poll some bit to sense Rx of data too.

Is there any thing under win32 to do so?

Salam
Hossam Alzomor
 

Re: RS232

Hi~~

There are two modes of operations in win32. One is non-overlapped mode and the other is overlapped mode. The former just waits for some event to occur. But, the latter create a thread to take over the I/O and the original process continues to work as specified in the program without blocking. Refer MSDN for further information.
 

    alzomor

    Points: 2
    Helpful Answer Positive Rating
Re: RS232

Hi

Do you have more information about ovrlapped mode?

Salam
Hossam Alzomor
 

Re: RS232

refer to msd examples for more details
 

Re: RS232

Anybody can help me about rs232 to usb?
THanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…