blob: 13091e4bf82bbb1e22358ccc1c9f89d8526b1496 [file] [log] [blame]
// Copyright 2021 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.power.sensor;
using zx;
@transport("Banjo")
@banjo_layout("ddk-protocol")
closed protocol PowerSensor {
/// Tells the driver to start listening for fuchsia.hardware.power.sensor messages on server.
/// See sdk/fidl/fuchsia.hardware.power.sensor/sensor.fidl.
strict ConnectServer(resource struct {
server zx.Handle:CHANNEL;
}) -> (struct {
status zx.Status;
});
};