OneWay  3.0-3-ge9d4fa4
receive.h
Go to the documentation of this file.
1 /* This file is part of OneWay
2  * Copyright (C) 2010, 2011 Enrico Rossi
3  *
4  * OneWay is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * OneWay is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
22 #ifndef RX_H
23 #define RX_H
24 
25 #include "led.h"
26 #include "uart.h"
27 #include "debug.h"
28 #include "htv.h"
29 
31 #define IO_PORT PORTA
32 
33 #define IO_DDR DDRA
34 #define IO_PIN0 PA0
35 #define IO_PIN1 PA1
36 
37 void slave(struct debug_t *debug);
38 
39 #endif
Functions to activare and display (rs232) debug.
Definition: debug.h:52
Main struct of the project and eventually defaults.
void slave(struct debug_t *debug)
the main RX program
Definition: receive.c:231