Sansa Clip+ has no button light
[kugel-rb.git] / firmware / export / iap.h
blobd00e5f398adffe264f672a8877fe43b13fa70ed4
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Alan Korr
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef __IAP_H__
21 #define __IAP_H__
23 #define RX_BUFLEN 260
24 #define TX_BUFLEN 128
26 extern int iap_getc(unsigned char x);
27 extern void iap_write_pkt(unsigned char data, int len);
28 extern void iap_setup(int ratenum);
29 extern void iap_bitrate_set(int ratenum);
30 extern void iap_periodic(void);
31 extern void iap_handlepkt(void);
32 extern void iap_track_changed(void *ignored);
33 extern void iap_send_pkt(const unsigned char * data, int len);
34 extern unsigned char serbuf[RX_BUFLEN];
36 #endif