FreeCalypso > hg > fc-magnetite
diff src/condat3/com/include/pwr.h @ 201:f3f58412df01
src/condat3/com/include: pwr.h and rtc.h replaced with TCS211 versions
as part of the TCS2/TCS3 hybrid effort
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 Oct 2016 05:49:28 +0000 |
parents | c8bd5a927942 |
children |
line wrap: on
line diff
--- a/src/condat3/com/include/pwr.h Fri Oct 14 03:51:07 2016 +0000 +++ b/src/condat3/com/include/pwr.h Fri Oct 14 05:49:28 2016 +0000 @@ -17,26 +17,11 @@ | Purpose : Types definitions for the power driver | . +----------------------------------------------------------------------------- -$History: Pwr.h - Dec 05, 2006 REF:OMAPS00106691 a0393213(R.Prabakar) - Description:compiler error is arising in simulation build since timer.h is not included in simulation build - Solution :flag off timer.h and its dependencies in gdi - - Oct 30,2006 ER:OMAPS00091029 x0039928(sumanth) - Bootup time measurement - - Apr 17, 2006 REF: ER OMAPS00075178 x0pleela - Description: When the charger connect to phone(i-sample), the charger driver works, but the MMI and App don't work - Solution: Defined macros for charging events - */ #ifndef PWR_H #define PWR_H -#ifndef _SIMULATION_ -#include "timer.h" /*OMAPS00091029 x0039928(sumanth)*/ -#endif /* * Power signals @@ -48,15 +33,8 @@ /* * Power Status */ -#define PWR_BATTERY_ON 0 // use battery power //x0pleela 10 Apr, 2006 ER: OMAPS00075178 #define PWR_EXTPOWER_ON 1 -#define PWR_CHARGER_ON 6 //x0pleela 11 Apr, 2006 changed the value from 2 to 6 - -//x0pleela 10 Apr, 2006 ER: OMAPS00075178 -#define PWR_CHARGER_BEGIN 2 // charger begin -#define PWR_CHARGER_STOP 3 // charger end -#define PWR_CHARGER_PLUG 4 // charger plug -#define PWR_CHARGER_UNPLUG 5 // charger unplug +#define PWR_CHARGER_ON 2 /* * Status Type @@ -78,17 +56,6 @@ UBYTE Steps; } pwr_DCB_Type; -/*OMAPS00091029 x0039928(sumanth)*/ -#ifndef _SIMULATION_ -typedef enum BootTimeEvent -{ - EPreBoot=0, - EAppInit, - EModemBoot, - ENetworkSync -} BootTimeEvent; -#endif - #if defined (NEW_FRAME) /* * to achieve backward compatibility with older definitions @@ -109,8 +76,5 @@ EXTERN UBYTE pwr_GetStatus (pwr_Status_Type * out_StatusPtr); EXTERN UBYTE pwr_PowerOffMobile (void); -#ifndef _SIMULATION_ -EXTERN void Bsp_get_boot_time(unsigned int * boot_time); /*OMAPS00091029 x0039928(sumanth)*/ -void boot_time_snapshot(BootTimeEvent event); + #endif -#endif