OWWRBIT Pin, BitVal
Writes one bit to a 1-Wire bus.
|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.|
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.
|A||60 µS||Write Slot 0 (SX master)|
|B||~ 10 µS||Write Slot recovery|
|A||5 µS||Write Slot 1 (SX master)|
|B||~ 65 µS||Write Slot recovery|
Related instructions: OWRESET, OWRDBIT, OWRDBYTE, and OWWRBYTE