1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - SPI 3 File: spi.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-17#$ 14 $Rev: 8556 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef TWL_SPI_H_ 19 #define TWL_SPI_H_ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 26 #include <nitro/spi/common/config.h> 27 #include <nitro/spi/common/type.h> 28 #include <twl/spi/common/mic_common.h> 29 30 #ifdef SDK_ARM9 31 32 #include <nitro/spi/ARM9/tp.h> 33 #include <nitro/spi/ARM9/mic.h> 34 #include <nitro/spi/ARM9/pm.h> 35 36 #else // SDK_ARM7 37 38 #include <nitro/spi/ARM7/spi.h> 39 #include <nitro/spi/ARM7/pm.h> 40 #include <twl/spi/ARM7/shutdown.h> 41 #endif 42 43 #ifdef __cplusplus 44 } /* extern "C" */ 45 #endif 46 47 /* TWL_SPI_H_ */ 48 #endif 49