#define ReadNXTPowerMeterElapsedTime ( _port,
_i2caddr,
_out,
_result   )     __MSReadValue(_port, _i2caddr, NXTPM_REG_TIME, 4, _out, _result)

Read NXTPowerMeter elapsed time.

Read the mindsensors NXTPowerMeter device's elapsed time since the last reset command. The port must be configured as a Lowspeed port before using this function.

Parameters:
_port The sensor port. See NBC Input port constants.
_i2caddr The sensor I2C address. See sensor documentation for this value.
_out The NXTPowerMeter elapsed time value.
_result A status code indicating whether the operation completed successfully or not. See TCommLSCheckStatus for possible Result values.

Generated by  doxygen 1.6.2