ts-7000
[Top] [All Lists]

Re: [ts-7000] about address pins on pc/104

To:
Subject: Re: [ts-7000] about address pins on pc/104
From: "Rich Wilson" <>
Date: Tue, 6 Feb 2007 13:45:59 -0800
When you do the mmap, the pointer returned corresponds to the first
address of the area you mapped. For example, if you map the 8-bit
I/O register space using mmap, and if cp is the value returned,
then *cp references address 0 of I/O space on the PC104 bus. *(cp+2)
accesses address 2 on the PC104 bus, etc. If you map the
entire 1 MByte in the mmap call, then you may reference
*(cp+x), where x can be up to 1 MByte.

Rich

On 2/5/07, HOSAM YOUSIF <> wrote:

hi all..
the first question i can ask that i have now some c-codes for my
ts-7250 all of this code have the same part that is open"mem/dev" then
using start=mmap to put the first using address in pointer...
BUT!!!!!i want to write a code to out the address i choose from the
address pins(A0-A19)on pc/104....plz any one help me i can't understand
this point and why always they map the address to virual address.
thanks alot




--
Rich Wilson

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU