blob: 0a171780a6e8cb9afb825b7d1ba2e625c39f6fbf [file] [log] [blame]
// Copyright 2019 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.clock;
using zx;
const uint32 NAME_LEN = 30;
struct FrequencyInfo {
array<uint8>:NAME_LEN name;
uint64 frequency;
};
[Layout = "Simple"]
protocol Device {
Measure(uint32 clock) -> (FrequencyInfo info);
GetCount() -> (uint32 count);
};