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