Rev 1771 | Rev 2039 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
477 | cascade | 1 | /**************************************************************************** |
1866 | - | 2 | * Copyright (C) 2009-2013 by Claas Anders "CaScAdE" Rathje * |
477 | cascade | 3 | * admiralcascade@gmail.com * |
4 | * Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
||
5 | * * |
||
6 | * This program is free software; you can redistribute it and/or modify * |
||
7 | * it under the terms of the GNU General Public License as published by * |
||
8 | * the Free Software Foundation; either version 2 of the License. * |
||
9 | * * |
||
10 | * This program is distributed in the hope that it will be useful, * |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
13 | * GNU General Public License for more details. * |
||
14 | * * |
||
15 | * You should have received a copy of the GNU General Public License * |
||
16 | * along with this program; if not, write to the * |
||
17 | * Free Software Foundation, Inc., * |
||
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
19 | ****************************************************************************/ |
||
20 | |||
762 | - | 21 | #ifndef _PPM_H |
22 | #define _PPM_H |
||
23 | |||
477 | cascade | 24 | extern uint8_t COSD_FLAGS, COSD_FLAGS2; |
1771 | - | 25 | extern volatile uint16_t old_timer1, ppm; |
477 | cascade | 26 | |
27 | /** |
||
28 | * init ppm, including timer1 for measurement |
||
29 | */ |
||
30 | void ppm_init(); |
||
31 | |||
32 | /** |
||
33 | * Handle INT2 interrupts that occur on changing edges of ppm signal |
||
34 | */ |
||
35 | ISR(INT2_vect); |
||
762 | - | 36 | |
37 | #endif |