summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorTomek CEDRO <cederom@tlen.pl>2011-11-03 03:26:18 +0100
committerTomek CEDRO <cederom@tlen.pl>2011-11-03 03:26:18 +0100
commitc06e0b49f4fde00e71f5c2be57bbcfbfe09079e0 (patch)
tree441da319df480fd9d4d098e54d56d22d735d3fba /src/target
parent02498e0ed4e142a966c2bda5bfb1e8153e7a85c8 (diff)
parentad9f081b6152a9c36bfb4bf74299f6ad959088c9 (diff)
downloadopenocd_libswd-c06e0b49f4fde00e71f5c2be57bbcfbfe09079e0.tar.gz
openocd_libswd-c06e0b49f4fde00e71f5c2be57bbcfbfe09079e0.tar.bz2
openocd_libswd-c06e0b49f4fde00e71f5c2be57bbcfbfe09079e0.tar.xz
openocd_libswd-c06e0b49f4fde00e71f5c2be57bbcfbfe09079e0.zip
Merge branch 'master' of ssh://repo.or.cz/srv/git/openocd/libswd
Diffstat (limited to 'src/target')
-rw-r--r--src/target/arm_adi_v5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm_adi_v5.h b/src/target/arm_adi_v5.h
index c190c433..19ea0acf 100644
--- a/src/target/arm_adi_v5.h
+++ b/src/target/arm_adi_v5.h
@@ -41,9 +41,9 @@
#define JTAG_DP_APACC 0xB
/* three-bit ACK values for SWD access (sent LSB first) */
-#define SWD_ACK_OK 0x4
+#define SWD_ACK_OK 0x1
#define SWD_ACK_WAIT 0x2
-#define SWD_ACK_FAULT 0x1
+#define SWD_ACK_FAULT 0x4
#define DPAP_WRITE 0
#define DPAP_READ 1