bsptemplate/asspandvariant/template_assp/assp.cia
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 1994-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // template\template_assp\assp.cia
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <e32cia.h>
       
    19 #include <template_assp_priv.h>
       
    20 #include "template_asspcia.h"
       
    21 
       
    22 __NAKED__ void MsTimerTick(TAny* aPtr)
       
    23 	{
       
    24 	// Service 1ms tick interrupt
       
    25 
       
    26 	//
       
    27 	// TO DO: (mandatory)
       
    28 	//
       
    29 	// Clear the interrupt source and re-arm the timer to issue another interrupt 1 ms from now.
       
    30 	// When setting up then next match interrupt also updates the iRounding member of NTimerQ if required.
       
    31 	// This value could be used to calculate how often the match need to be adjusted so that in the long run
       
    32 	// the system tick average what is required
       
    33 	//
       
    34 
       
    35 	asm("b  " CSM_ZN7NTimerQ4TickEv);										// tick the millisecond timer
       
    36 	}