Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
parameters.h@24:f8fea5e5bf73, 2013-07-23 (annotated)
- Committer:
- yuhangzhu
- Date:
- Tue Jul 23 04:33:02 2013 +0000
- Revision:
- 24:f8fea5e5bf73
- Parent:
- 21:4d6b26eecdac
- Child:
- 26:5c264e20402f
this is the newest version with raw spi stream support
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yuhangzhu | 0:249f6f78cd05 | 1 | #ifndef PARAMETERS_H |
yuhangzhu | 0:249f6f78cd05 | 2 | #define PARAMETERS_H |
yuhangzhu | 0:249f6f78cd05 | 3 | |
yuhangzhu | 1:cb6811ef87de | 4 | #define MODE_IDLE 0 |
yuhangzhu | 0:249f6f78cd05 | 5 | #define MODE_CHA1PHA 1 |
yuhangzhu | 0:249f6f78cd05 | 6 | #define MODE_CHA1AMP 2 |
yuhangzhu | 0:249f6f78cd05 | 7 | #define MODE_CHA2PHA 3 |
yuhangzhu | 0:249f6f78cd05 | 8 | #define MODE_CHA2AMP 4 |
yuhangzhu | 24:f8fea5e5bf73 | 9 | #define MODE_SPI_RAW 5 |
yuhangzhu | 24:f8fea5e5bf73 | 10 | #define MODE_DISPLAY 6 |
yuhangzhu | 24:f8fea5e5bf73 | 11 | #define MODE_SEND 7 |
yuhangzhu | 24:f8fea5e5bf73 | 12 | #define MODE_HELP 8 |
yuhangzhu | 24:f8fea5e5bf73 | 13 | #define MODE_ERR 9 |
yuhangzhu | 24:f8fea5e5bf73 | 14 | |
yuhangzhu | 0:249f6f78cd05 | 15 | |
yuhangzhu | 6:e510aab8f2ce | 16 | #define LINEBUF_EMPTY 0 |
yuhangzhu | 6:e510aab8f2ce | 17 | #define LINEBUF_OK 1 |
yuhangzhu | 6:e510aab8f2ce | 18 | #define LINEBUF_TOOLONG 2 |
yuhangzhu | 0:249f6f78cd05 | 19 | |
yuhangzhu | 2:45db4f4ca70d | 20 | |
yuhangzhu | 6:e510aab8f2ce | 21 | #define PARSE_ERR -2 |
yuhangzhu | 6:e510aab8f2ce | 22 | #define PARSE_LONG -1 |
yuhangzhu | 24:f8fea5e5bf73 | 23 | #define PARSE_SHORT -3 |
yuhangzhu | 6:e510aab8f2ce | 24 | #define PARSE_OK 0 |
yuhangzhu | 6:e510aab8f2ce | 25 | #define PARSE_EMPTY 1 |
yuhangzhu | 6:e510aab8f2ce | 26 | #define PARSE_ROUNDED 2 |
yuhangzhu | 0:249f6f78cd05 | 27 | |
yuhangzhu | 0:249f6f78cd05 | 28 | |
yuhangzhu | 0:249f6f78cd05 | 29 | #endif |