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.
list.h@0:226550611f0d, 2016-12-12 (annotated)
- Committer:
- Stephen_NewVistas
- Date:
- Mon Dec 12 23:06:58 2016 +0000
- Revision:
- 0:226550611f0d
- Child:
- 2:9ab591cf81b8
Got system working on bus, calling registered functions with ACK/NACK/RESPONSE. Need to clean up.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Stephen_NewVistas | 0:226550611f0d | 1 | #ifndef LIST_H |
| Stephen_NewVistas | 0:226550611f0d | 2 | #define LIST_H |
| Stephen_NewVistas | 0:226550611f0d | 3 | |
| Stephen_NewVistas | 0:226550611f0d | 4 | |
| Stephen_NewVistas | 0:226550611f0d | 5 | typedef struct{ |
| Stephen_NewVistas | 0:226550611f0d | 6 | unsigned char command; |
| Stephen_NewVistas | 0:226550611f0d | 7 | void *function; |
| Stephen_NewVistas | 0:226550611f0d | 8 | } listContents_t; |
| Stephen_NewVistas | 0:226550611f0d | 9 | |
| Stephen_NewVistas | 0:226550611f0d | 10 | typedef struct{ |
| Stephen_NewVistas | 0:226550611f0d | 11 | listContents_t list[64]; |
| Stephen_NewVistas | 0:226550611f0d | 12 | unsigned char index; |
| Stephen_NewVistas | 0:226550611f0d | 13 | } list_t; |
| Stephen_NewVistas | 0:226550611f0d | 14 | |
| Stephen_NewVistas | 0:226550611f0d | 15 | #endif |