diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-07-22 14:24:58 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-07-22 14:24:58 +0000 |
commit | 5f148f59e732b1e1833f5b106d58d4ad55f19f40 (patch) | |
tree | e2cdeede62d4c30b28aea5b327bfb075f3ef4fad /openpcd/firmware/include/openpcd.h | |
parent | 413333331aa5db1a9d18be6bfb76ccd84f761ac4 (diff) |
- add S256 linker script
- add USB transmit routines
- connect usb OUT endpoint with parser / spi
git-svn-id: https://svn.openpcd.org:2342/trunk@10 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpcd/firmware/include/openpcd.h')
-rw-r--r-- | openpcd/firmware/include/openpcd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openpcd/firmware/include/openpcd.h b/openpcd/firmware/include/openpcd.h index cd85af2..e7183cc 100644 --- a/openpcd/firmware/include/openpcd.h +++ b/openpcd/firmware/include/openpcd.h @@ -1,5 +1,5 @@ -#ifndef _OPENPCD_H -#define _OPENPCD_H +#ifndef _OPENPCD_PROTO_H +#define _OPENPCD_PROTO_H #include <include/types.h> #include <include/AT91SAM7S64.h> @@ -10,6 +10,7 @@ struct openpcd_hdr { u_int8_t reg; /* register */ u_int8_t val; /* value (in case of write *) */ u_int16_t len; + u_int16_t res; u_int8_t data[0]; } __attribute__ ((packed)); |