From: "Marc LE DOUARAIN" <m.ledouarain@domain.hid>
To: xenomai@xenomai.org, imranbashirbhatti@domain.hid
Subject: Rép. : [Xenomai-help] ISA/PC-104 interfacing
Date: Wed, 31 Jan 2007 14:12:02 +0100 [thread overview]
Message-ID: <s5c0a36c.096@domain.hid> (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à !
>>> 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.
reply other threads:[~2007-01-31 13:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5c0a36c.096@domain.hid \
--to=m.ledouarain@domain.hid \
--cc=imranbashirbhatti@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.