Root/
Source at commit 6223a58552f54b9bb7ad50f1fee09dc305bd66b8 created 11 years 9 months ago. By Werner Almesberger, fw/: move image data from sweep.[ch] to new image.[ch] | |
---|---|
1 | /* |
2 | * fw/image.h - Image data (upload and conversion) |
3 | * |
4 | * Written 2012 by Werner Almesberger |
5 | * Copyright 2012 Werner Almesberger |
6 | * |
7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by |
9 | * the Free Software Foundation; either version 2 of the License, or |
10 | * (at your option) any later version. |
11 | */ |
12 | |
13 | |
14 | #ifndef IMAGE_H |
15 | #define IMAGE_H |
16 | |
17 | #include <stdbool.h> |
18 | #include <stdint.h> |
19 | |
20 | |
21 | #define MAX_LINES 100 |
22 | |
23 | |
24 | struct line { |
25 | uint8_t d; /* port D0-D7 */ |
26 | uint8_t cb; /* port C0-C5, B6-B7 */ |
27 | }; |
28 | |
29 | |
30 | extern struct line image[MAX_LINES]; |
31 | |
32 | #endif /* !IMAGE_H */ |
33 |
Branches:
master
tornado-v1