1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - PM - include - common 3 File: pm_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 $Log: $ 14 $NoKeywords: $ 15 *---------------------------------------------------------------------------*/ 16 #ifndef TWL_PM_COMMON_H_ 17 #define TWL_PM_COMMON_H_ 18 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 //================================================================ 25 // PMIC extention register parameter 26 //================================================================ 27 //---------------- address 28 #define REG_PMIC_CTL2_ADDR 0x10 // R/W 29 30 //---------------- each register spec 31 //---- PMIC_CTL2 32 #define PMIC_CTL2_RESET (1<< 0) 33 #define PMIC_CTL2_FREE (1<< 1) 34 #define PMIC_CTL2_BACK_LIGHT_1 (1<< 2) 35 #define PMIC_CTL2_BACK_LIGHT_2 (1<< 3) 36 37 38 #ifdef __cplusplus 39 } /* extern "C" */ 40 #endif 41 42 /* TWL_PM_COMMON_H_ */ 43 #endif 44