summaryrefslogtreecommitdiff
path: root/lib/ccdbg.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-01-05 21:45:21 -0800
committerKeith Packard <keithp@keithp.com>2009-01-05 21:45:21 -0800
commit60940b4be23962db79b8e914ec943d0636dd68ad (patch)
tree44ff3b464ed793533f9f3ea57eeab2dd59779482 /lib/ccdbg.h
parenteb09e61b0682eb2aeac8e1a34d58b897ba6db8e7 (diff)
Expose ccdbg_set_clock API
This allows applications to change the debug port clock rate on the fly. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'lib/ccdbg.h')
-rw-r--r--lib/ccdbg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ccdbg.h b/lib/ccdbg.h
index 241c4eec..037d8ff5 100644
--- a/lib/ccdbg.h
+++ b/lib/ccdbg.h
@@ -259,6 +259,9 @@ ccdbg_hex_image_equal(struct hex_image *a, struct hex_image *b);
/* ccdbg-io.c */
void
+ccdbg_set_clock(uint32_t us);
+
+void
ccdbg_half_clock(struct ccdbg *dbg);
int