summaryrefslogtreecommitdiff
path: root/avr/command_tbl.c
diff options
context:
space:
mode:
authorLeo C2014-09-08 19:54:08 +0200
committerLeo C2014-09-08 19:54:08 +0200
commit6035a17b2becc788c0daaf440deb6cc37d364029 (patch)
tree79735e7b353f4848bcfbd4ee2cb4f902dae474ec /avr/command_tbl.c
parent9e689a832629fd09ad60161ddacfe7b05bb00dc5 (diff)
downloadz180-stamp-6035a17b2becc788c0daaf440deb6cc37d364029.zip
Programmable Z180 clock, clock commandhexrel-2
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r--avr/command_tbl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/avr/command_tbl.c b/avr/command_tbl.c
index 6e8a91b..c721d53 100644
--- a/avr/command_tbl.c
+++ b/avr/command_tbl.c
@@ -18,6 +18,7 @@ extern command_ret_t do_dump_mem(cmd_tbl_t *, int, int, char * const []);
extern command_ret_t do_eep_cp(cmd_tbl_t *, int, int, char * const []);
extern command_ret_t do_busreq_pulse(cmd_tbl_t *, int, int, char * const []);
extern command_ret_t do_date(cmd_tbl_t *, int, int, char * const []);
+extern command_ret_t do_clock(cmd_tbl_t *, int, int, char * const []);
cmd_tbl_t cmd_tbl[] = {
@@ -119,6 +120,11 @@ CMD_TBL_ITEM(
"Perform RESET of the CPU",
""
),
+CMD_TBL_ITEM(
+ clock, 2, 0, do_clock,
+ "Set or get CPU frequency",
+ ""
+),
CMD_TBL_ITEM(
md, 3, 1, do_mem_md,