view target-utils/pln-ppb-test/cmdtab.c @ 1009:4a153059abbb

doc/DUART28-boot-control: update for fc-linux-patch and fc-usbser-tools
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 12 Dec 2023 06:57:11 +0000
parents f34261bb3355
children
line wrap: on
line source

#include "cmdtab.h"

extern void cmd_abbr();
extern void cmd_abbw();
extern void cmd_erase();
extern void cmd_jump();
extern void cmd_mode_entry();
extern void cmd_mode_exit();
extern void cmd_program();
extern void cmd_r8();
extern void cmd_r16();
extern void cmd_r32();
extern void cmd_read_id();
extern void cmd_w8();
extern void cmd_w16();
extern void cmd_w32();

extern void cmd_baud_switch();
extern void cmd_memdump_human();

extern void abb_init();
extern void abb_power_off();
extern void abb_unlock_page2();

const struct cmdtab cmdtab[] = {
	{"abbinit", abb_init},
	{"abbpage2", abb_unlock_page2},
	{"abbr", cmd_abbr},
	{"abbw", cmd_abbw},
	{"baud", cmd_baud_switch},
	{"dump", cmd_memdump_human},
	{"erase", cmd_erase},
	{"jump", cmd_jump},
	{"mode-entry", cmd_mode_entry},
	{"mode-exit", cmd_mode_exit},
	{"poweroff", abb_power_off},
	{"program", cmd_program},
	{"r8", cmd_r8},
	{"r16", cmd_r16},
	{"r32", cmd_r32},
	{"read-id", cmd_read_id},
	{"w8", cmd_w8},
	{"w16", cmd_w16},
	{"w32", cmd_w32},
	{0, 0}
};