blob: ae6eae84a3b42224cc36ca4296bb68a5533b167b [file] [log] [blame]
// Copyright 2023 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.adcimpl;
const ADC_NAME_MAX_LENGTH uint32 = 64;
type AdcChannel = table {
/// Index of channel.
1: idx uint32;
/// Channel name.
2: name string:ADC_NAME_MAX_LENGTH;
};
type Metadata = table {
/// ADC Channels to expose.
1: channels vector<AdcChannel>:MAX;
};