1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // omap3530/shared/mstick/omap3_mstick.h
17 #ifndef OMAP3_MSTICK_H
18 #define OMAP3_MSTICK_H
26 /** Start the millisecond timer counting, call from Init3 stage of ASSP */
27 IMPORT_C TInt Start();
29 /** Start idle tick supression
30 * @param aMaxSleepTicks Maximum number of ticks to sleep for
31 * @return If >0 the number of ticks that will be suppressed (could be < aMaxSleepTicks)
32 * @return If ==0 supression was not enabled
34 IMPORT_C TInt SuppressIdleTicks( TInt aMaxSleepTicks );
36 /** End idle supression and restore tick timer to normal operation
38 * @param aMaxSleepTicks Original maximum number of ticks passed to SuppressIdleTicks()
39 * @return Actual number of ticks since SuppressIdleTickw() was called
41 IMPORT_C TInt EndIdleTickSuppression( TInt aMaxSleepTicks );
47 #endif // define OMAP3_MSTICK_H