Re: how can I configure 8255 chip?

Ooops! Sorry, I misunderstood your question. Documentation/comedi/drivers.txt 
says:

"The 8255 appears in Comedi as a single digital I/O subdevice with 24 
channels.  The channel 0 corresponds to the 8255's port A, bit 0; channel 23 
corresponds to port C, bit 7.  Direction configuration is done in blocks, 
with channels 0-7, 8-15, 16-19, and 20-23 making up the 4 blocks.  The only 
8255 mode supported is mode 0."

Then I guess you just have to see which comedi functions configure the 
direction of digital channels, which I don't know now...
Ivan Martinez

On Friday 31 May 2002 02:02 pm, Ivan Martinez wrote:
> http://stm.lbl.gov/pipermail/comedi/2002-May/003072.html
> http://stm.lbl.gov/pipermail/comedi/2002-May/003016.html
>
> On Friday 31 May 2002 01:01 pm, linutux loinux wrote:
> > I have a 6503x board which use a 8255 chip, but I don know how I can
> > configure the 8255 chip to configure the ports as input or output.Can you
> > help me?
> >
> > Thanks.
> >
> >
> > _________________________________________________________________
> > Hable con sus amigos en línea, pruebe MSN Messenger:
> > http://messenger.msn.es
> >
> >
> >
> > _______________________________________________
> > comedi mailing list
> > comedi_at_stm.lbl.gov
> > http://stm.lbl.gov/cgi-bin/mailman/listinfo/comedi
>
> _______________________________________________
> comedi mailing list
> comedi_at_stm.lbl.gov
> http://stm.lbl.gov/cgi-bin/mailman/listinfo/comedi

Received on 2002-05-31Z11:10:47