X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=lib%2Fccdbg.h;h=dbb2a907bc3ee20cc105c2efaa7079e1b740e73c;hp=8bc9444a2e00269230624c9674b54354488dea8d;hb=5a338c8a7394d003355f96a8777b6fe83bb8493c;hpb=cc0495b7028f4b1189a00707d828a68534d1dea2 diff --git a/lib/ccdbg.h b/lib/ccdbg.h index 8bc9444a..dbb2a907 100644 --- a/lib/ccdbg.h +++ b/lib/ccdbg.h @@ -32,10 +32,10 @@ #include #include "ccdbg-debug.h" -#define CC_CLOCK 0x1 +#define CC_CLOCK 0x4 #define CC_DATA 0x2 -#define CC_RESET_N 0x4 -#define CC_CLOCK_US (0) +#define CC_RESET_N 0x1 +#define CC_CLOCK_US (1000) /* Telemetrum has a 10k pull-up to 3.3v, a 0.001uF cap to ground * and a 2.7k resistor to the reset line. This takes about 6us