2006-08-22 20:38:50 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2006 by Barry Wardell
|
|
|
|
*
|
|
|
|
* All files in this archive are subject to the GNU General Public License.
|
|
|
|
* See the file COPYING in the source tree root for full license agreement.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _ADC_TARGET_H_
|
|
|
|
#define _ADC_TARGET_H_
|
|
|
|
|
2006-12-29 02:49:12 +00:00
|
|
|
/* only two channels used by the Gigabeat */
|
|
|
|
#define NUM_ADC_CHANNELS 2
|
2006-08-22 21:30:30 +00:00
|
|
|
|
|
|
|
#define ADC_BATTERY 0
|
2006-12-29 02:49:12 +00:00
|
|
|
#define ADC_HPREMOTE 1
|
2006-08-22 21:30:30 +00:00
|
|
|
#define ADC_UNKNOWN_3 2
|
|
|
|
#define ADC_UNKNOWN_4 3
|
2006-12-29 02:49:12 +00:00
|
|
|
#define ADC_UNKNOWN_5 4
|
|
|
|
#define ADC_UNKNOWN_6 5
|
|
|
|
#define ADC_UNKNOWN_7 6
|
|
|
|
#define ADC_UNKNOWN_8 7
|
|
|
|
|
2006-08-22 21:30:30 +00:00
|
|
|
#define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */
|
2006-12-29 02:49:12 +00:00
|
|
|
#define ADC_READ_ERROR 0xFFFF
|
2006-08-22 21:30:30 +00:00
|
|
|
|
2006-08-22 20:38:50 +00:00
|
|
|
#endif
|