// 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.registers; | |
using zx; | |
@transport("Banjo") | |
@banjo_layout("ddk-protocol") | |
protocol Registers { | |
/// Gets a channel for FIDL protocol. | |
/// |chan| : Channel for FIDL protocol. | |
Connect(resource struct { | |
chan zx.handle:CHANNEL; | |
}) -> (); | |
}; |