halservices/hal/inc/hal_data.h
branchRCL_3
changeset 36 bbf8bed59bcb
parent 28 5b5d147c7838
child 43 c1f20ce4abcf
equal deleted inserted replaced
28:5b5d147c7838 36:bbf8bed59bcb
   112 		by TCPU.
   112 		by TCPU.
   113 		
   113 		
   114 		@see HALData::TCPU
   114 		@see HALData::TCPU
   115 		*/
   115 		*/
   116 		ECPU,
   116 		ECPU,
   117 		
   117 		  
   118 		
   118 		
   119 		/**
   119 		/**
   120 		A revision number for the CPU architecture.
   120 		A revision number for the CPU architecture.
   121 		*/
   121 		*/
   122 		ECPUArch,
   122 		ECPUArch,
  1095 
  1095 
  1096 		/**
  1096 		/**
  1097 		Serial number of this board
  1097 		Serial number of this board
  1098 		*/
  1098 		*/
  1099 		ESerialNumber,
  1099 		ESerialNumber,
  1100 		
  1100 				
  1101 		
       
  1102 		/**
  1101 		/**
  1103 		Interrupt used by sampling profiler - applicable for SMP only. Each CPU_i is interrupted by interrupt number ECpuProfilingInterrupt + i
  1102 		Interrupt used by sampling profiler - applicable for SMP only. Each CPU_i is interrupted by interrupt number ECpuProfilingInterrupt + i
  1104 		*/
  1103 		*/
  1105 		ECpuProfilingDefaultInterruptBase,
  1104 		ECpuProfilingDefaultInterruptBase,
  1106 
  1105 
  1107 
       
  1108 		/**
  1106 		/**
  1109 		Number of processors present on the device. Returns 1 on unicore. This number is constant and does not take account of power management
  1107 		Number of processors present on the device. Returns 1 on unicore. This number is constant and does not take account of power management
  1110 		*/
  1108 		*/
  1111 		ENumCpus,
  1109 		ENumCpus,
  1112 
  1110 
       
  1111 		/**
       
  1112 		The orientation of the Digitiser. Usually mirrors device orientation.
       
  1113 		
       
  1114 		@see TDigitiserOrientation for allowed values
       
  1115 		@capability WriteDeviceData needed to Set this attribute
       
  1116 		*/
       
  1117 		EDigitiserOrientation,
  1113 
  1118 
  1114 		/*
  1119 		/*
  1115 		 * NOTE:
  1120 		 * NOTE:
  1116 		 * When updating this list, please also update hal/rom/hal.hby and hal/tsrc/t_newhal.cpp.
  1121 		 * When updating this list, please also update hal/rom/hal.hby and hal/tsrc/t_newhal.cpp.
  1117 		 */
  1122 		 */
  1326 		EPowerBackupStatus_Replace,
  1331 		EPowerBackupStatus_Replace,
  1327 		EPowerBackupStatus_Low,
  1332 		EPowerBackupStatus_Low,
  1328 		EPowerBackupStatus_Good,
  1333 		EPowerBackupStatus_Good,
  1329 		};
  1334 		};
  1330 	
  1335 	
       
  1336 	
       
  1337     /**
       
  1338     Describes the orientation of the screen digitiser, usually mirrors the
       
  1339     device orientation not necessarily the display rotation as this might be
       
  1340 	limited to upright and left 90 only. The values in degrees measures 
       
  1341 	the anti-clockwise angle from the left edge of the digitiser from the 
       
  1342 	normal default position of the device. 
       
  1343 	
       
  1344 	User-side clients can use attribute to inform the digitiser driver of the
       
  1345 	digitiser orientation. The driver may then use this information to adjust 
       
  1346 	X.Y sampling depending on input pointer type.
       
  1347 	
       
  1348     @see HALData::TAttribute
       
  1349     */
       
  1350 	enum TDigitiserOrientation
       
  1351 		{
       
  1352 		EDigitiserOrientation_default,	///< Driver using build-in default
       
  1353 		EDigitiserOrientation_000,		///< Device normal 'make-call' position
       
  1354 		EDigitiserOrientation_090,		///< Device rotated left 90 degrees
       
  1355 		EDigitiserOrientation_180,		///< Device rotated 180 degrees
       
  1356 		EDigitiserOrientation_270		///< Device rotated right 90 degrees
       
  1357 		};
       
  1358 	
  1331 	};
  1359 	};
  1332 
  1360 
  1333 #endif
  1361 #endif