1 /*---------------------------------------------------------------------------*
2   Project:  TwlSDK - spi - include
3   File:     mic_common.h
4 
5   Copyright 2007-2008 Nintendo.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Date:: 2008-09-18#$
14   $Rev: 8573 $
15   $Author: okubata_ryoma $
16  *---------------------------------------------------------------------------*/
17 #ifndef TWL_SPI_COMMON_MIC_COMMON_H_
18 #define TWL_SPI_COMMON_MIC_COMMON_H_
19 #ifdef  __cplusplus
20 extern  "C" {
21 #endif
22 /*---------------------------------------------------------------------------*/
23 
24 #include    <nitro/hw/common/armArch.h>
25 
26 enum
27 {
28     MIC_SAMPLING_RATE_32730 =   (HW_CPU_CLOCK_ARM7 / 32730),
29     MIC_SAMPLING_RATE_16360 =   (HW_CPU_CLOCK_ARM7 / 16360),
30     MIC_SAMPLING_RATE_10910 =   (HW_CPU_CLOCK_ARM7 / 10910),
31     MIC_SAMPLING_RATE_8180  =   (HW_CPU_CLOCK_ARM7 / 8180),
32     MIC_SAMPLING_RATE_47610 =   (HW_CPU_CLOCK_ARM7 / 47610),
33     MIC_SAMPLING_RATE_23810 =   (HW_CPU_CLOCK_ARM7 / 23810),
34     MIC_SAMPLING_RATE_15870 =   (HW_CPU_CLOCK_ARM7 / 15870),
35     MIC_SAMPLING_RATE_11900 =   (HW_CPU_CLOCK_ARM7 / 11900)
36 };
37 
38 /*---------------------------------------------------------------------------*/
39 #ifdef __cplusplus
40 }   /* extern "C" */
41 #endif
42 #endif  /* TWL_SPI_COMMON_MIC_COMMON_H_ */
43