1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - SPI 3 File: spi.h 4 5 Copyright 2003-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 NITRO_SPI_H_ 19 #define NITRO_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 29 #ifdef SDK_ARM9 30 31 #include <nitro/spi/ARM9/tp.h> 32 #include <nitro/spi/ARM9/mic.h> 33 #include <nitro/spi/ARM9/pm.h> 34 35 #else // SDK_ARM7 36 37 #include <nitro/spi/ARM7/spi.h> 38 #include <nitro/spi/ARM7/pm.h> 39 40 #endif 41 42 #ifdef __cplusplus 43 } /* extern "C" */ 44 #endif 45 46 /* NITRO_SPI_H_ */ 47 #endif 48