There are several system requirements for proper operation of the code examples: Overdrive communication speed is also covered by this document. This application note provides an example, written in 'C', of the basic standard-speed 1-Wire master communication routines. IntroductionĪ microprocessor can easily generate 1-Wire timing signals if a dedicated bus master is not present. The time values provided produce the most robust 1-Wire master for communication with all 1-Wire devices over various line conditions. Byte functions can then be derived from multiple calls to the bit operations. The four basic operations of a 1-Wire bus are Reset, Write 1 bit, Write 0 bit, and Read bit. A microprocessor can easily generate 1-Wire ® timing signals if a true bus master is not present (e.g., DS2480B, the family of DS2482 parts).
0 Comments
Leave a Reply. |