aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorGareth McMullin2015-02-28 20:53:25 -0800
committerGareth McMullin2015-03-22 12:26:45 -0700
commitd6225eec763bd49ef3cb8edac5138df9e524a073 (patch)
tree7db158a0e0adf742238a69b9e7ec6d2cfcc0192d /src/include
parentfa046601a54ddf2137048f11594ed7d72ede995a (diff)
Raise timeout exception when target is in WFI.
Ignore the exception when polling for halt, and report the exception to the user if halting the target fails. Remove old allow_timeout flag in DP struct that's no longer needed.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/adiv5.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/adiv5.h b/src/include/adiv5.h
index 6896f6d..12d3bf4 100644
--- a/src/include/adiv5.h
+++ b/src/include/adiv5.h
@@ -107,12 +107,8 @@ typedef struct ADIv5_DP_s {
uint32_t idcode;
- bool allow_timeout;
-
uint32_t (*dp_read)(struct ADIv5_DP_s *dp, uint16_t addr);
-
uint32_t (*error)(struct ADIv5_DP_s *dp);
-
uint32_t (*low_access)(struct ADIv5_DP_s *dp, uint8_t RnW,
uint16_t addr, uint32_t value);