components/esp32-owb/include/owb_rmt_bus_timings.h

Tue, 26 Sep 2023 14:57:18 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 26 Sep 2023 14:57:18 +0200
changeset 72
acc1904cd70d
permissions
-rw-r--r--

Migrated to isp-idf v5.1

// 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