TwlIPL/build/libraries_sysmenu/sysmenu/ARM9/include/sysmenu_define.h
yosiokat 1952c74fb3 systemMenu_REDの追加。(まだまともに動かない。)
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@72 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2007-10-29 11:02:25 +00:00

51 lines
1.5 KiB
C

/*---------------------------------------------------------------------------*
Project: TwlIPL
File: SYSM_define.h
Copyright 2007 Nintendo. All rights reserved.
These coded instructions, statements, and computer programs contain
proprietary information of Nintendo of America Inc. and/or Nintendo
Company Ltd., and are protected by Federal copyright law. They may
not be disclosed to third parties or copied or duplicated in any form,
in whole or in part, without the prior written consent of Nintendo.
$Date:: $
$Rev$
$Author$
*---------------------------------------------------------------------------*/
#ifndef __SYSM_DEFINE_H__
#define __SYSM_DEFINE_H__
#include <twl.h>
#ifdef __cplusplus
extern "C" {
#endif
// define data-------------------------------------------
// 定数
#define POW_LCDC_SW_TOP 0x0000 // LCD上に画面表示
#define POW_LCDC_SW_BOTTOM 0x8000 // LCD下に画面表示
#define POW_E2D2 0x0200 // 2D回路2 の電源ON
#define POW_E2D1 0x0002 // 2D回路1 の電源ON
#define POW_ELC 0x0001 // LCDC回路の電源ON
#define SUBP_RECV_IF_ENABLE 0x4000 // 割り込み要求受信 許可
// 排他制御用ロックID
#define BOOTFLAG_LOCK_ID (OS_MAINP_LOCK_ID_END-1)
#define CARTRIDGE_LOCK_ID (OS_MAINP_LOCK_ID_END-2)
// SetBootFlag関数の引数int set_clear_flagで指定する定数
#define SBF_CLEAR 0
#define SBF_SET 1
#ifdef __cplusplus
}
#endif
#endif // __SYSM_DEFINE_H__