blob: 06f1fa931b95911cff5926979d9e9ec0ad781b4d [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")
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.
ConnectServer(resource struct {
server zx.handle:CHANNEL;
}) -> (struct {
status zx.status;
});
};