blob: f8c34a3d545b3b6281cb230060a83a7d910938ca [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;
});
};