Root/fw/image.h

Source at commit a11670bb7bb6e506db72463fea6738100b22c9a7 created 11 years 17 days ago.
By Werner Almesberger, tornado/fw/sim/alg.c: accept data from standard input; fix "process"
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 <stdint.h>
18
19
20struct line {
21    uint8_t d; /* port D0-D7 */
22    uint8_t cb; /* port C0-C5, B6-B7 */
23};
24
25
26extern const struct line *image;
27
28
29struct line localize_line(uint8_t p0, uint8_t p1);
30
31#endif /* !IMAGE_H */
32

Archive Download this file

Branches:
master
tornado-v1



interactive