blob: 39e1c477d3f90d074bca988f82342ba0351c6994 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.hardware.temperature;
using zx;
@for_deprecated_c_bindings
protocol Device {
/// Get the current temperature in degrees Celsius.
GetTemperatureCelsius() -> (struct {
status zx.status;
temp float32;
});
};