Re: rs232 by a-danwh
a-danwh
Tue Feb 15 17:12:21 CST 2005
------=_NextPart_0001_225A7019
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Greetings,
As mentioned, the best way is to write a device driver for the port. In
this way you can receive the IRQ's for that device and read/write directly
to/from the ports. In truth, "directly to/from the ports" is just one
level higher than what is actually happening. Using the HAL (Hardware
Abstraction Layer) allows you to read/write to the ports. This layer, in
this instance, ensures that the reads/writes adhere to the specifications
for that hardware. There are serial samples in the DDK both legacy and WDM
that can help you in this endevour. But there is a learning curve to
overcome though. How much experience do you have with device drivers
under Windows?
Thanks
Dan Whitaker
DDK Team
------=_NextPart_0001_225A7019
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Greetings,
\par
\par As mentioned, the best way is to write a device driver for the port. In this way you can receive the IRQ's for that device and read/write directly to/from the ports. In truth, "directly to/from the ports" is just one level higher than what is actually happening. Using the HAL (Hardware Abstraction Layer) allows you to read/write to the ports. This layer, in this instance, ensures that the reads/writes adhere to the specifications for that hardware. There are serial samples in the DDK both legacy and WDM that can help you in this endevour. But there is a learning curve to overcome though. How much experience do you have with device drivers under Windows?
\par
\par Thanks
\par
\par Dan Whitaker
\par DDK Team
\par }
------=_NextPart_0001_225A7019--