blob: 06ade663ae9c4ed2a03f888e70ee652ddbfdc4a9 [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.
@available(added=11)
library fuchsia.hardware.temperature;
using zx;
protocol Device {
/// Get the current temperature in degrees Celsius.
GetTemperatureCelsius() -> (struct {
status zx.Status;
temp float32;
});
};