X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fcommand.h;h=7ec0f1cbfcb53f4a3f5d7289d228b849b9c7d50f;hp=ae9fd9ecd57ace1b407d295d7b953d82e931b372;hb=4de4683d6ed9abb3ce6eea37957f845d6d33243f;hpb=ccf5eca095c0c0bed2a25e945c3c3b48cf3b55c7 diff --git a/firmware/include/command.h b/firmware/include/command.h index ae9fd9e..7ec0f1c 100644 --- a/firmware/include/command.h +++ b/firmware/include/command.h @@ -14,7 +14,7 @@ //256 bytes, plus overhead //For chips with very little RAM. #define CMDDATALEN 0x104 -#warning Very little RAM. +//#warning Very little RAM. #endif #ifndef CMDDATALEN @@ -41,6 +41,8 @@ extern unsigned char silent; #define SETUP 0x10 #define START 0x20 #define STOP 0x21 +#define CALL 0x30 +#define EXEC 0x31 #define NOK 0x7E #define OK 0x7F @@ -110,6 +112,8 @@ void txword(unsigned int l); //! Transmit a debug string. void debugstr(const char *str); +//! brief Debug a hex word string. +void debughex(u16 v); //! Delay for a count. void delay(unsigned int count);