diff options
author | meri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-04-10 17:39:51 +0000 |
---|---|---|
committer | meri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-04-10 17:39:51 +0000 |
commit | bc0c0684257c7dfe3f92dc514b2d2970dd524e45 (patch) | |
tree | 269ddfd4dc1f876b653bc55b29fcbd79b17e3309 /firmware/include/openpcd.h | |
parent | f21e08aa9f22d873e938cd3f021c3fc33d06d286 (diff) |
added several new USB commands: remote reset, API version and read/write volatile flash environment
git-svn-id: https://svn.openpcd.org:2342/trunk@295 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/include/openpcd.h')
-rw-r--r-- | firmware/include/openpcd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/openpcd.h b/firmware/include/openpcd.h index 8c8b956..904b8ff 100644 --- a/firmware/include/openpcd.h +++ b/firmware/include/openpcd.h @@ -50,6 +50,10 @@ enum openpcd_cmd_class { #define OPENPCD_CMD_GET_VERSION (0x1|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_GENERIC)) #define OPENPCD_CMD_SET_LED (0x2|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_GENERIC)) #define OPENPCD_CMD_GET_SERIAL (0x3|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_GENERIC)) +#define OPENPCD_CMD_GET_API_VERSION (0x4|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_GENERIC)) +#define OPENPCD_CMD_GET_ENVIRONMENT (0x5|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_GENERIC)) +#define OPENPCD_CMD_SET_ENVIRONMENT (0x6|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_GENERIC)) +#define OPENPCD_CMD_RESET (0x7|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_GENERIC)) /* CMD_CLS_RC632 */ #define OPENPCD_CMD_WRITE_REG (0x1|OPENPCD_CLS2CMD(OPENPCD_CMD_CLS_RC632)) |