please dont rip this site

Syntax: OWWRBIT Pin, BitVal

Function
Writes one bit to a 1-Wire bus.

Quick Facts

  All SX Models
 Special Notes  The DQ pin (specified by Pin) must have a 4.7 kΩ pull-up resister.
 1-Wire commands require a FREQ setting of 4 MHz or higher.

Explanation
After reset, 1-Wire transactions require writing values to the bus. While this is typically handled with OWWRBYTE, SX/B supports bit access with the OWWRBIT instruction. A bit is written by generating a timed low pulse on the DQ line; this is called a "Write Slot." The diagrams and tables below details the Write Slot sequences generated by the SX with OWWRBIT.

WRITE 0

Note Timing  Description
A 60 µS  Write Slot 0 (SX master)
B ~ 10 µS  Write Slot recovery


WRITE 1

Note Timing  Description
A 5 µS  Write Slot 1 (SX master)
B ~ 65 µS  Write Slot recovery


Related instructions: OWRESET, OWRDBIT, OWRDBYTE, and OWWRBYTE


file: /Techref/parallax/sxb/sxb/owwrbit.htm, 3KB, , updated: 2006/4/10 14:47, local time: 2024/5/18 23:34,
TOP NEW HELP FIND: 
3.135.62.42:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.sxlist.com/techref/parallax/sxb/sxb/owwrbit.htm"> OWWRBIT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to www.sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .