components/esp32-owb/include/owb_rmt_bus_timings.h

changeset 72
acc1904cd70d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/esp32-owb/include/owb_rmt_bus_timings.h	Tue Sep 26 14:57:18 2023 +0200
@@ -0,0 +1,20 @@
+// onewire bus master timings
+
+// standard rate master timings recommended in the 1-Wire specification
+// the values below are the ones recommended by the specification.
+
+// for the meaning of each parameter, see the following document:
+// https://www.analog.com/en/technical-articles/1wire-communication-through-software.html
+
+// all values in microsec
+#define OWB_TIMING_PARAM_A  6 
+#define OWB_TIMING_PARAM_B  64
+#define OWB_TIMING_PARAM_C  60
+#define OWB_TIMING_PARAM_D  10
+#define OWB_TIMING_PARAM_E  9
+#define OWB_TIMING_PARAM_F  55
+#define OWB_TIMING_PARAM_G  0
+#define OWB_TIMING_PARAM_H  480
+#define OWB_TIMING_PARAM_I  70
+#define OWB_TIMING_PARAM_J  410
+

mercurial