PTM services: Difference between revisions
No edit summary |
No edit summary |
||
Line 280: | Line 280: | ||
== GetTemperatureRange == | == GetTemperatureRange == | ||
Takes an u8 [[#Location]]. Returns | Takes an input u8 [[#Location]]. Returns two s32s '''MinimumTemperature''' and '''MaximumTemperature'''. | ||
The returned temperature values are in Celsius. | The returned temperature values are in Celsius. | ||
== GetTemperature == | == GetTemperature == | ||
Takes an u8 [[#Location]]. Returns an output s32. | Takes an input u8 [[#Location]]. Returns an output s32. | ||
The output is the temperature in Celsius. | The output is the temperature in Celsius. | ||
== SetMeasurementMode == | == SetMeasurementMode == | ||
Takes | Takes two input u8s [[#Location]] and '''MeasurementMode'''. No output. | ||
== GetTemperatureMilliC == | == GetTemperatureMilliC == | ||
Takes an u8 [[#Location]]. Returns an output s32. | Takes an input u8 [[#Location]]. Returns an output s32. | ||
The output is the temperature in MilliC. | The output is the temperature in MilliC. | ||
== OpenSession == | == OpenSession == | ||
Takes | Takes an input [[#Location|DeviceCode]]. Returns an [[#ISession]]. | ||
== ISession == | == ISession == | ||
Line 703: | Line 703: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Value || Name | ! Value || Name || DeviceCode | ||
|- | |- | ||
| 0 || Internal | | 0 || Internal || 0x41000001 | ||
|- | |- | ||
| 1 || External | | 1 || External || 0x41000002 | ||
|} | |} | ||