mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-29 09:50:39 +02:00
d651c23a04
- remove struct params.clkT_period - correct size of tp_*_start - correct size of tp_*_pix - move MAX_LINES from image.h to proto.h (to ease sharing with tools) Things now work a bit differently from how they were planned back when clkT_period was added.
35 lines
713 B
C
35 lines
713 B
C
/*
|
|
* fw/image.h - Image data (upload and conversion)
|
|
*
|
|
* Written 2012 by Werner Almesberger
|
|
* Copyright 2012 Werner Almesberger
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
|
|
#ifndef IMAGE_H
|
|
#define IMAGE_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include <avr/pgmspace.h>
|
|
|
|
#include "proto.h"
|
|
|
|
|
|
struct line {
|
|
uint8_t d; /* port D0-D7 */
|
|
uint8_t cb; /* port C0-C5, B6-B7 */
|
|
};
|
|
|
|
|
|
extern const struct line *image;
|
|
extern const uint8_t image_secret[2*PAYLOAD] PROGMEM;
|
|
|
|
#endif /* !IMAGE_H */
|