>>Or is it too much beer for one evening? Or not enough.. ;-)
That is why it is called a "Tri" (as in three) state. There is on, off, and don't write the value. Dave On 4/27/2012 2:03 PM, Viesturs Lācis wrote: > 2012/4/27 Dave<e...@dc9.tzo.com>: > >> It is not written to in that case.. IE it is not assigned a value. >> >> > Sorry, but I think that there are 2 options - either it is 0 or 1. > Your answer seems to indicate that there is third option. Or is it too > much beer for one evening? > > Viesturs > > > >> On 4/27/2012 12:52 PM, Viesturs Lācis wrote: >> >>> 2012/4/27 andy pugh<bodge...@gmail.com>: >>> >>> >>>> On 27 April 2012 17:35, Viesturs Lācis<viesturs.la...@gmail.com> wrote: >>>> >>>> >>>> >>>>> But that "non-writing >>>>> state" is something I am not sure I have ever seen, not to speak of >>>>> actually coding that by myself. >>>>> >>>>> >>>> The "tristate" functions do that, they are useful for writing to >>>> bidirectional HAL pins, and only output a value on request, allowing >>>> the pin to be driven from the "other side" when inactive. >>>> >>>> >>> It seems to me that I am not understanding something. >>> There are 3 pins: in, out, enable. >>> out = in, if enable = true. >>> http://linuxcnc.org/docs/devel/html/man/man9/tristate_bit.9.html >>> >>> What is out state, when enable = false? >>> >>> Viesturs >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Emc-developers mailing list >>> Emc-developers@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-developers >>> >>> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Emc-developers mailing list >> Emc-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-developers >> > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers