Nut/OS  5.0.5
API Reference
vs1002.h
Go to the documentation of this file.
00001 #ifndef _DEV_VS1002_H_
00002 #define _DEV_VS1002_H_
00003 /*
00004  * Copyright (C) 2009 by egnite GmbH
00005  *
00006  * All rights reserved.
00007  *
00008  * Redistribution and use in source and binary forms, with or without
00009  * modification, are permitted provided that the following conditions
00010  * are met:
00011  *
00012  * 1. Redistributions of source code must retain the above copyright
00013  *    notice, this list of conditions and the following disclaimer.
00014  * 2. Redistributions in binary form must reproduce the above copyright
00015  *    notice, this list of conditions and the following disclaimer in the
00016  *    documentation and/or other materials provided with the distribution.
00017  * 3. Neither the name of the copyright holders nor the names of
00018  *    contributors may be used to endorse or promote products derived
00019  *    from this software without specific prior written permission.
00020  *
00021  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00022  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00023  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00024  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00025  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00026  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00027  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
00028  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
00029  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00030  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
00031  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00032  * SUCH DAMAGE.
00033  *
00034  * For additional information see http://www.ethernut.de/
00035  */
00036 
00037 /*
00038  * $Id$
00039  */
00040 
00041 
00042 
00043 #define VS_HAS_SM_LAYER12       0
00044 #define VS_HAS_SM_FFWD          0
00045 #define VS_HAS_SM_MP12          0
00046 #define VS_HAS_SM_OUTOFWAV      1
00047 #define VS_HAS_SM_CANCEL        0
00048 #define VS_HAS_SM_PDOWN         1
00049 #define VS_HAS_SM_EARSPEAKER    0
00050 #define VS_HAS_SM_DAC           0
00051 #define VS_HAS_SM_TESTS         1
00052 #define VS_HAS_SM_DACMONO       0
00053 #define VS_HAS_SM_STREAM        1
00054 #define VS_HAS_SM_BASS          0
00055 #define VS_HAS_SM_IBMODE        0
00056 #define VS_HAS_SM_SDISHARE      1
00057 #define VS_HAS_SM_IBCLK         0
00058 #define VS_HAS_SM_SDINEW        1
00059 #define VS_HAS_SM_ADPCM         1
00060 #define VS_HAS_SM_ADPCM_HP      1
00061 #define VS_HAS_SM_LINE_IN       0
00062 #define VS_HAS_SM_CLK_RANGE     0
00063 
00064 #define VS_HAS_SS_AVOL          0
00065 #define VS_HAS_SS_VREF_1_65     0
00066 #define VS_HAS_SS_AD_CLOCK      0
00067 #define VS_HAS_SS_VCM_DISABLE   0
00068 #define VS_HAS_SS_VCM_OVERLOAD  0
00069 #define VS_HAS_SS_SWING         0
00070 #define VS_HAS_SS_DO_NOT_JUMP   0
00071 
00072 #define VS_HAS_INT_FCTLH_REG    0
00073 #define VS_HAS_BASS_REG         1
00074 #define VS_HAS_SC_FREQ          0
00075 #define VS_HAS_SC_X3FREQ        0
00076 #define VS_HAS_SC_ADD           0
00077 #define VS_HAS_SC_ADD2          0
00078 #define VS_HAS_SC_MULT          0
00079 #define VS_HAS_SC_MULT5         0
00080 #define VS_HAS_CF_DOUBLER       1
00081 
00082 #define VS_HAS_AD_STEREO_BIT0   0
00083 #define VS_HAS_AD_SAMRATE       0
00084 #define VS_HAS_AD_BITRATE       0
00085 #define VS_HAS_AD_SAMRATE_IDX   0
00086 
00087 #define VS_HAS_HDAT0_REG        1
00088 #define VS_HAS_IN0_REG          0
00089 #define VS_HAS_HDAT1_REG        1
00090 #define VS_HAS_IN1_REG          0
00091 #define VS_HAS_MIXERVOL_REG     0
00092 #define VS_HAS_ADPCMRECCTL_REG  0
00093 #define VS_HAS_AICTRL0_REG      1
00094 #define VS_HAS_AICTRL_REG       0
00095 #define VS_HAS_AICTRL1_REG      1
00096 #define VS_HAS_AICTRL2_REG      1
00097 #define VS_HAS_AICTRL3_REG      1
00098 
00099 #define VS_FLUSH_BYTES          2048
00100 
00101 #define VS_DECODER_CAPS         (AUDIO_FMT_WAV_PCM | AUDIO_FMT_MPEG1_L3)
00102 #define VS_ENCODER_CAPS         (0)
00103 
00104 #endif
00105