All of lore.kernel.org
 help / color / mirror / Atom feed
* Rép. : [Xenomai-help] ISA/PC-104 interfacing
@ 2007-01-31 13:12 Marc LE DOUARAIN
  0 siblings, 0 replies; only message in thread
From: Marc LE DOUARAIN @ 2007-01-31 13:12 UTC (permalink / raw)
  To: xenomai, imranbashirbhatti

Perhaps because it is quite easy to read/write to i/o of an ISA card...

I am here talking of the easiest way, without making a driver, when you just have to read/write some registers of a specific hardware directly in your application:

First you must let your application to access to the addresses required with
	ioperm( start_adress, lenght, 1 );
OR
	iopl(3);

Secondly, to read :

value = inb( address );

and to write :

outb( value, address);


Voilà !


>>> mani bhatti <imranbashirbhatti@domain.hid> 24.01 18:04 >>>
Hi all
If any one can please tell me some sources about ISA  interfacing and programming i would be very thankful because there are only few resources and the resources which are available are not very helpful and friendly written,Some simple examples would be really helpful.Thanks.

 
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-31 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-31 13:12 Rép. : [Xenomai-help] ISA/PC-104 interfacing Marc LE DOUARAIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.