Jon Elson pravi:
> Slavko Kocjancic wrote:
>   
>> ... but how "make" know that I make change on some file? I suspect 
>> that I should tell what file I changed?!?
>> ------------------------------------------------------------------------
>>     
> Make scans the date stamps in the directories. 

Ahh that is...

Now it's time ti use my (un)knowledge to write that driver...
I burried my head into hal_parport and hal_ax5214 and till now I still 
doesn't have clear picture how stuff work.

As far I know the pins are stored in globals io_pin_t[n] but are very 
confused of invert proportion?

If I get picture right there are io_pin_t[] for everi pin I have.
So realtime write function must reasemble that bits into byte and put it 
to I/O port.
and realtime read function must get byte from port and split to each bit 
and put to right io_pin_t[]

But I'm lost in how emc know what is what pin? So how to export pins? 
The source I read both make export but in so different way that i'm 
completly confused. (or source is written in different way and do same 
thing)

Has someone little time to explain right way to do that?

and reading from manual I'm not shure what pins realy do.

 (bit) ax5214.<boardnum>.out-<pinnum> – Drives a physical output pin.
 (bit) ax5214.<boardnum>.in-<pinnum> – Tracks a physical input pin.
 (bit) ax5214.<boardnum>.in-<pinnum>-not – Tracks a physical input pin, 
inverted.

that is clear but next one confuse me
 (bit) ax5214.<boardnum>.out-<pinnum>-invert – Inverts an output pin.

What that means? To invert current state of pin? Or to invert each 
"(bit) ax5214.<boardnum>.out-<pinnum> " access?

Is it " (bit) ax5214.<boardnum>.out-<pinnum>-invert"

used only once in hal just to user can specify if the pin is inverted 
(eg optocoupler on bob inverts signal)?

Slavko.









------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to