blob: 4bcd267adacd361029e9e24e83179a19433fc241 [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;
[ForDeprecatedCBindings]
struct FrequencyInfo {
array<uint8>:NAME_LEN name;
uint64 frequency;
};
[ForDeprecatedCBindings]
protocol Device {
Measure(uint32 clock) -> (FrequencyInfo info);
GetCount() -> (uint32 count);
};