Tue, 26 Sep 2023 14:57:18 +0200
Migrated to isp-idf v5.1
72 | 1 | // onewire bus master timings |
2 | ||
3 | // standard rate master timings recommended in the 1-Wire specification | |
4 | // the values below are the ones recommended by the specification. | |
5 | ||
6 | // for the meaning of each parameter, see the following document: | |
7 | // https://www.analog.com/en/technical-articles/1wire-communication-through-software.html | |
8 | ||
9 | // all values in microsec | |
10 | #define OWB_TIMING_PARAM_A 6 | |
11 | #define OWB_TIMING_PARAM_B 64 | |
12 | #define OWB_TIMING_PARAM_C 60 | |
13 | #define OWB_TIMING_PARAM_D 10 | |
14 | #define OWB_TIMING_PARAM_E 9 | |
15 | #define OWB_TIMING_PARAM_F 55 | |
16 | #define OWB_TIMING_PARAM_G 0 | |
17 | #define OWB_TIMING_PARAM_H 480 | |
18 | #define OWB_TIMING_PARAM_I 70 | |
19 | #define OWB_TIMING_PARAM_J 410 | |
20 |