Skip to contentSkip to conversation

Rép. : [Xenomai-help] ISA/PC-104 interfacing

DISCUSSION Marc LE DOUARAIN 1 participant 1 message Jan 31, 2007

lore
Share & tools
lore
#0 lore raw

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à !

Quoted 1 line
Quoted 1 line
Quoted 1 line

mani bhatti <[email protected]> 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.