Nut/OS  4.10.3
API Reference
vs1001.h
Go to the documentation of this file.
00001 #ifndef _DEV_VS1001_H_
00002 #define _DEV_VS1001_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: vs1001.h 2660 2009-09-01 17:59:55Z haraldkipp $
00039  */
00040 
00041 #define VS_HAS_SM_LAYER12       0
00042 #define VS_HAS_SM_FFWD          1
00043 #define VS_HAS_SM_MP12          1
00044 #define VS_HAS_SM_OUTOFWAV      0
00045 #define VS_HAS_SM_CANCEL        0
00046 #define VS_HAS_SM_PDOWN         1
00047 #define VS_HAS_SM_EARSPEAKER    0
00048 #define VS_HAS_SM_DAC           1
00049 #define VS_HAS_SM_TESTS         0
00050 #define VS_HAS_SM_DACMONO       1
00051 #define VS_HAS_SM_STREAM        0
00052 #define VS_HAS_SM_BASS          1
00053 #define VS_HAS_SM_IBMODE        1
00054 #define VS_HAS_SM_SDISHARE      0
00055 #define VS_HAS_SM_IBCLK         1
00056 #define VS_HAS_SM_SDINEW        0
00057 #define VS_HAS_SM_ADPCM         0
00058 #define VS_HAS_SM_ADPCM_HP      0
00059 #define VS_HAS_SM_LINE_IN       0
00060 #define VS_HAS_SM_CLK_RANGE     0
00061 
00062 #define VS_HAS_SS_AVOL          1
00063 #define VS_HAS_SS_VREF_1_65     0
00064 #define VS_HAS_SS_AD_CLOCK      0
00065 #define VS_HAS_SS_VCM_DISABLE   0
00066 #define VS_HAS_SS_VCM_OVERLOAD  0
00067 #define VS_HAS_SS_SWING         0
00068 #define VS_HAS_SS_DO_NOT_JUMP   0
00069 
00070 #define VS_HAS_INT_FCTLH_REG    1
00071 #define VS_HAS_BASS_REG         0
00072 #define VS_HAS_SC_FREQ          1
00073 #define VS_HAS_SC_X3FREQ        0
00074 #define VS_HAS_SC_ADD           0
00075 #define VS_HAS_SC_ADD2          0
00076 #define VS_HAS_SC_MULT          0
00077 #define VS_HAS_SC_MULT5         0
00078 #define VS_HAS_CF_DOUBLER       1
00079 
00080 #define VS_HAS_AD_STEREO_BIT0   0
00081 #define VS_HAS_AD_SAMRATE       0
00082 #define VS_HAS_AD_BITRATE       1
00083 #define VS_HAS_AD_SAMRATE_IDX   1
00084 
00085 #define VS_HAS_HDAT0_REG        1
00086 #define VS_HAS_IN0_REG          0
00087 #define VS_HAS_HDAT1_REG        1
00088 #define VS_HAS_IN1_REG          0
00089 #define VS_HAS_MIXERVOL_REG     0
00090 #define VS_HAS_ADPCMRECCTL_REG  0
00091 #define VS_HAS_AICTRL0_REG      0
00092 #define VS_HAS_AICTRL_REG       1
00093 #define VS_HAS_AICTRL1_REG      1
00094 #define VS_HAS_AICTRL2_REG      0
00095 #define VS_HAS_AICTRL3_REG      0
00096 
00097 #define VS_SW_RESET_ON_OPEN
00098 #define VS_FLUSH_BYTES          1024
00099 
00100 #define VS_DECODER_CAPS         (AUDIO_FMT_WAV_PCM | AUDIO_FMT_MPEG1_L1 | AUDIO_FMT_MPEG1_L2 | AUDIO_FMT_MPEG1_L3)
00101 #define VS_ENCODER_CAPS         (0)
00102 
00103 #endif