diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-08-16 13:27:31 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-08-16 13:27:31 +0000 |
commit | f987bf9ae655acf7c03834f2c97ec4db4ca8db27 (patch) | |
tree | 3e978c63cc9b802c1dc5cff9dbf4e9c7bb5dc6ec | |
parent | 81416e6ae6eabf911273290bfef5a6cbe8fd6d2b (diff) |
add OPENPC_REG_MAX definition
git-svn-id: https://svn.openpcd.org:2342/trunk@108 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r-- | openpcd/firmware/include/openpcd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpcd/firmware/include/openpcd.h b/openpcd/firmware/include/openpcd.h index 61bc205..2dbae5f 100644 --- a/openpcd/firmware/include/openpcd.h +++ b/openpcd/firmware/include/openpcd.h @@ -20,6 +20,8 @@ enum openpcd_cmd_class { OPENPCD_CMD_CLS_PWM = 0x4, }; +#define OPENPC_REG_MAX 0x3f + #define OPENPCD_CMD_CLS(x) (x >> 4) #define OPENPCD_CMD(x) (x & 0xf) |