File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "type" : " git" ,
1414 "url" : " https://github.com/pstolarz/OneWireNg"
1515 },
16- "version" : " 0.4.0 " ,
16+ "version" : " 0.4.1 " ,
1717 "homepage" : " https://github.com/pstolarz/OneWireNg" ,
1818 "frameworks" : " Arduino" ,
1919 "examples" : [
Original file line number Diff line number Diff line change 11name =OneWireNg
2- version =0.4.0
2+ version =0.4.1
33author =Piotr Stolarz
44maintainer =Piotr Stolarz <pstolarz@o2.pl>
55sentence =Arduino 1-wire service library
Original file line number Diff line number Diff line change 4343//#define CONFIG_FLASH_CRC8_TAB
4444
4545/**
46- * See @sa OneWireNg_BitBang::setGpioAsOutput() for more information
46+ * GPIO blink reveals as a short, unexpected low-high (or vice versa) state
47+ * change on the digital data wire. The GPIO blink (resulted of the internal
48+ * library logic) may occur if both of the following circumstances occur:
49+ *
50+ * 1. The driver is configured for parasitically powering slaves via GPIO
51+ * bit-banging (possible for non open-drain type of output).
52+ * 2. The underlying platform can't guarantee input to output GPIO switch with
53+ * a desired initial state.
54+ *
55+ * To prevent the blink resulted of the above @c CONFIG_BUS_BLINK_PROTECTION
56+ * may be configured. Undesirable side effect of using this parameter is a short
57+ * period of time when a direct voltage source is provided directly on the data
58+ * wire. This is basically unwanted behavior in the open-drain environment
59+ * (except parasitically powering slave devices in a specific period of time
60+ * during 1-wire activity). The side effect occurs while switching the data
61+ * wire GPIO from low to high state via the following 3-steps procedure:
62+ *
63+ * 1. Initial low state (GPIO configured as output-low).
64+ * 2. Hight state (GPIO configured as output-high) - direct voltage source
65+ * connected to the bus. This is an additional state provided by @c
66+ * CONFIG_BUS_BLINK_PROTECTION parameter.
67+ * 3. High state visible via pull-up resistor (GPIO configured as input).
4768 */
4869//#define CONFIG_BUS_BLINK_PROTECTION
4970
You can’t perform that action at this time.
0 commit comments