baseport/syborg/specific/syborg.h
changeset 70 634f7e208f90
parent 56 f24810eebc6b
child 74 eb3d0111f868
child 98 23e14cbcf117
equal deleted inserted replaced
69:c9d64fb26f98 70:634f7e208f90
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
       
    13 * NTT Docomo, Inc : BUG 1296
    13 *
    14 *
    14 * Description:
    15 * Description:
    15 *
    16 *
    16 */
    17 */
    17 
    18 
    29 #define __SYBORG__
    30 #define __SYBORG__
    30 #endif
    31 #endif
    31 
    32 
    32 const TUint KHwBasePeripherals  = KPrimaryIOBase;       
    33 const TUint KHwBasePeripherals  = KPrimaryIOBase;       
    33 const TUint KHwLinSeparation	= 0x1000;
    34 const TUint KHwLinSeparation	= 0x1000;
       
    35 const TInt KMsTickPeriod	= 10000;
    34 
    36 
    35 const TUint KHwBaseSic				= KHwBasePeripherals + 0x00*KHwLinSeparation;
    37 const TUint KHwBaseSic				= KHwBasePeripherals + 0x00*KHwLinSeparation;
    36 // intended for use as a free-running counter. Reading the value register of a free-running syborg counter returns a microsec value
    38 // intended for use as a free-running counter. Reading the value register of a free-running syborg counter returns a microsec value
    37 const TUint KHwBaseRtc				= KHwBasePeripherals + 0x01*KHwLinSeparation;
    39 const TUint KHwBaseRtc				= KHwBasePeripherals + 0x01*KHwLinSeparation;
    38 // intended for use as an alarm generating timer with a resolution of 1 microsecond
    40 // intended for use as an alarm generating timer with a resolution of 1 microsecond
    48 const TUint KHwSVPHostFileSystemDevice		= KHwBasePeripherals + 0x0a*KHwLinSeparation;
    50 const TUint KHwSVPHostFileSystemDevice		= KHwBasePeripherals + 0x0a*KHwLinSeparation;
    49 const TUint KHwSVPSnapDevice			= KHwBasePeripherals + 0x0b*KHwLinSeparation;
    51 const TUint KHwSVPSnapDevice			= KHwBasePeripherals + 0x0b*KHwLinSeparation;
    50 const TUint KHwSVPNetDevice			= KHwBasePeripherals + 0x0c*KHwLinSeparation;
    52 const TUint KHwSVPNetDevice			= KHwBasePeripherals + 0x0c*KHwLinSeparation;
    51 const TUint KHwSVPNandDevice			= KHwBasePeripherals + 0x0d*KHwLinSeparation;
    53 const TUint KHwSVPNandDevice			= KHwBasePeripherals + 0x0d*KHwLinSeparation;
    52 const TUint KHwSVPAudioDevice			= KHwBasePeripherals + 0x0e*KHwLinSeparation;
    54 const TUint KHwSVPAudioDevice			= KHwBasePeripherals + 0x0e*KHwLinSeparation;
    53 const TUint KHwSVPPlatformDevice		= KHwBasePeripherals + 0x0f*KHwLinSeparation;
    55 const TUint KHwSVPWebcameraDevice		= KHwBasePeripherals + 0x0f*KHwLinSeparation;
    54 
    56 const TUint KHwSVPPlatformDevice		= KHwBasePeripherals + 0x10*KHwLinSeparation;
    55 	
    57 	
    56 enum TSyborgInterruptId
    58 enum TSyborgInterruptId
    57 {
    59 {
    58   EIntTimer0 = 0,     /* RTC -- not used */
    60   EIntTimer0 = 0,     /* RTC -- not used */
    59   EIntTimer1 = 1,     /* Interval Timer */
    61   EIntTimer1 = 1,     /* Interval Timer */