]>
Commit | Line | Data |
---|---|---|
4225a882 | 1 | /*---------------------------------------------------------------------------------------------------------------------------------------------------\r |
2 | * irsnd.h\r | |
3 | *\r | |
4 | * Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de\r | |
5 | *\r | |
879b06c2 | 6 | * $Id: irsnd.h,v 1.3 2010/06/10 10:05:56 fm Exp $\r |
5481e9cd | 7 | *\r |
4225a882 | 8 | * ATMEGA88 @ 8 MHz\r |
9 | *\r | |
10 | * This program is free software; you can redistribute it and/or modify\r | |
11 | * it under the terms of the GNU General Public License as published by\r | |
12 | * the Free Software Foundation; either version 2 of the License, or\r | |
13 | * (at your option) any later version.\r | |
14 | *---------------------------------------------------------------------------------------------------------------------------------------------------\r | |
15 | */\r | |
16 | \r | |
17 | #ifndef _WC_IRSND_H_\r | |
18 | #define _WC_IRSND_H_\r | |
19 | \r | |
20 | /**\r | |
21 | * Initialize ISND encoder\r | |
22 | * @details Configures ISDN output pin\r | |
23 | */\r | |
24 | extern void irsnd_init (void);\r | |
25 | \r | |
26 | /**\r | |
27 | * Check if sender is busy\r | |
28 | * @details checks if sender is busy\r | |
29 | * @return TRUE: sender is busy, FALSE: sender is not busy\r | |
30 | */\r | |
31 | extern uint8_t irsnd_is_busy (void);\r | |
32 | \r | |
33 | /**\r | |
34 | * Send IRMP data\r | |
35 | * @details sends IRMP data\r | |
36 | * @param pointer to IRMP data structure\r | |
37 | * @return TRUE: successful, FALSE: failed\r | |
38 | */\r | |
879b06c2 | 39 | extern uint8_t irsnd_send_data (IRMP_DATA *, uint8_t);\r |
4225a882 | 40 | \r |
41 | /**\r | |
42 | * ISR routine\r | |
43 | * @details ISR routine, called 10000 times per second\r | |
44 | */\r | |
45 | extern uint8_t irsnd_ISR (void);\r | |
46 | \r | |
47 | #endif /* _WC_IRSND_H_ */\r |