Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
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
 

yjkwon57

Full Member level 4
Joined
Jul 31, 2004
Messages
218
Helped
24
Reputation
48
Reaction score
3
Trophy points
1,298
Activity points
1,808
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

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
Re: RS232

Hi

Do you have more information about ovrlapped mode?

Salam
Hossam Alzomor
 

niket_304

Member level 4
Joined
Dec 21, 2005
Messages
73
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
2,002
Re: RS232

refer to msd examples for more details
 

torkzade

Newbie level 1
Joined
Feb 7, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
Re: RS232

Anybody can help me about rs232 to usb?
THanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top