kerneltest/e32test/iic/t_iic.h
changeset 199 189ece41fa29
parent 90 947f0dc9f7a8
child 261 4dbffe5c974e
equal deleted inserted replaced
189:a5496987b1da 199:189ece41fa29
   299 		EInitSlaveClient,					/**< Instigate Slave initialisation required to support testing	*/
   299 		EInitSlaveClient,					/**< Instigate Slave initialisation required to support testing	*/
   300 		ECaptureChanSync,					/**< Capture Channel (Synchronous version)						*/
   300 		ECaptureChanSync,					/**< Capture Channel (Synchronous version)						*/
   301 		EReleaseChan,						/**< ReleaseChannel												*/
   301 		EReleaseChan,						/**< ReleaseChannel												*/
   302 		ERegisterRxBuffer,					/**< Register a buffer for receiving data						*/
   302 		ERegisterRxBuffer,					/**< Register a buffer for receiving data						*/
   303 		ERegisterTxBuffer,					/**< Register a buffer for transmitting data					*/
   303 		ERegisterTxBuffer,					/**< Register a buffer for transmitting data					*/
   304 		ESetNotifTrigger					/**< Set the notification triggers                               */									
   304 		ESetNotifTrigger,					/**< Set the notification triggers                               */
       
   305 		ETestSpare1,
       
   306 		ETestStaticEx
   305 		};
   307 		};
   306 
   308 
   307 	enum TStaticExt
   309 	enum TStaticExt
   308 		{
   310 		{
   309 		ECtlIoNone = 0,
   311 		ECtlIoNone = 0,
   403 	inline TInt UnblockNotification(TInt aBusId, TInt aChannelId) {return(DoControl(ECtrlIoUnblockNotification,(TAny*)aBusId,(TAny*)aChannelId));}
   405 	inline TInt UnblockNotification(TInt aBusId, TInt aChannelId) {return(DoControl(ECtrlIoUnblockNotification,(TAny*)aBusId,(TAny*)aChannelId));}
   404 	inline TInt UpdateTimeoutValues(TInt aBusId, TInt aChannelId) {return(DoControl(ECtrlIoUpdTimeout,(TAny*)aBusId,(TAny*)aChannelId));}
   406 	inline TInt UpdateTimeoutValues(TInt aBusId, TInt aChannelId) {return(DoControl(ECtrlIoUpdTimeout,(TAny*)aBusId,(TAny*)aChannelId));}
   405 	inline TInt SetNotifNoTrigger(TInt aChannelId, TInt aTrigger){return(DoControl(ECtrlIoNotifNoTrigger,(TAny*)aChannelId,(TAny*)aTrigger));};
   407 	inline TInt SetNotifNoTrigger(TInt aChannelId, TInt aTrigger){return(DoControl(ECtrlIoNotifNoTrigger,(TAny*)aChannelId,(TAny*)aTrigger));};
   406 
   408 
   407 	inline void TestOverrunUnderrun(TInt aBusId, TInt aChannelId, TRequestStatus& aStatus) {DoRequest(ECtrlIoOvUndRunRxTx,aStatus,(TAny*)aBusId,(TAny*)aChannelId);}
   409 	inline void TestOverrunUnderrun(TInt aBusId, TInt aChannelId, TRequestStatus& aStatus) {DoRequest(ECtrlIoOvUndRunRxTx,aStatus,(TAny*)aBusId,(TAny*)aChannelId);}
   408 
   410 	
       
   411 	inline TInt TestSpare1(TInt aBusId) {return (DoControl(ETestSpare1, (TAny*)aBusId));}
       
   412 	inline TInt TestStaticExtension(TInt aBusId) {return (DoControl(ETestStaticEx, (TAny*)aBusId));}
   409 #endif
   413 #endif
   410 	};
   414 	};
   411 
   415 
   412 
   416 
   413 #ifdef __KERNEL_MODE__
   417 #ifdef __KERNEL_MODE__