mpl3115.c
int	mpl3115ReadHdlr(epw_t * psEWP) {
	vTimerSetTimerID(sMPL3115.timer, (void *) psEWP);
	IF_SYSTIMER_START(debugTIMING, stMPL3115);
	uint8_t Cmd = mpl3115STATUS;
	// delay not really required if sampling interval >= 1000mSec
	uint32_t Dly = mpl3115Dly[sMPL3115.Reg.ctrl_reg1.OS] ;
	return halI2C_Queue(sMPL3115.psI2C, i2cWT, &Cmd, sizeof(Cmd),
			&sMPL3115.Reg.STATUS, 6, (i2cq_p1_t) sMPL3115.timer, (i2cq_p2_t) (uint32_t) Dly);
}
/**
 * @brief	step 1: trigger A->D conversion with delay
 * @param 	pointer to endpoint to be read
 */
@brief       step 1: trigger A->D conversion with delay
@param       pointer to endpoint to be read
@brief step 1 : trigger A - > D conversion with delay @param pointer to endpoint to be read
int	mpl3115ReadHdlr(epw_t * psEWP) {
	vTimerSetTimerID(sMPL3115.timer, (void *) psEWP);
	IF_SYSTIMER_START(debugTIMING, stMPL3115);
	uint8_t Cmd = mpl3115STATUS;
	uint32_t Dly = mpl3115Dly[sMPL3115.Reg.ctrl_reg1.OS] ;
	return halI2C_Queue(sMPL3115.psI2C, i2cWT, &Cmd, sizeof(Cmd),
			&sMPL3115.Reg.STATUS, 6, (i2cq_p1_t) sMPL3115.timer, (i2cq_p2_t) (uint32_t) Dly);
}
int mpl3115ReadHdlr ( epw_t * psEWP ) { vTimerSetTimerID ( sMPL3115 . timer , ( void * ) psEWP ) ; IF_SYSTIMER_START ( debugTIMING , stMPL3115 ) ; uint8_t Cmd = mpl3115STATUS ; uint32_t Dly = mpl3115Dly [ sMPL3115 . Reg . ctrl_reg1 . OS ] ; return halI2C_Queue ( sMPL3115 . psI2C , i2cWT , & Cmd , sizeof ( Cmd ) , & sMPL3115 . Reg . STATUS , 6 , ( i2cq_p1_t ) sMPL3115 . timer , ( i2cq_p2_t ) ( uint32_t ) Dly ) ; }
@brief       step 1: trigger A->D conversion with delay
 @param       pointer to endpoint to be read
@brief step 1 : trigger A - > D conversion with delay @param pointer to endpoint to be read
// delay not really required if sampling interval >= 1000mSec