fuchsia.hardware.adcimpl

Added: HEAD

PROTOCOLS

Device

Defined in fuchsia.hardware.adcimpl/adc-impl.fidl

GetResolution

Get adc resolution in number of bits.

Request

<EMPTY>

Response

NameType
payload Device_GetResolution_Result

GetSample

Get sample - raw count from adc - of the ADC channel indicated by channel_id.

Request

NameType
channel_id uint32

Response

NameType
payload Device_GetSample_Result

STRUCTS

Device_GetResolution_Response

Defined in fuchsia.hardware.adcimpl/adc-impl.fidl

FieldTypeDescriptionDefault
resolution uint8 No default

Device_GetSample_Response

Defined in fuchsia.hardware.adcimpl/adc-impl.fidl

FieldTypeDescriptionDefault
value uint32 No default

TABLES

AdcChannel

Defined in fuchsia.hardware.adcimpl/metadata.fidl

OrdinalFieldTypeDescription
idx uint32

Index of channel.

name string:64

Channel name.

Metadata

Defined in fuchsia.hardware.adcimpl/metadata.fidl

OrdinalFieldTypeDescription
channels vector<AdcChannel>

ADC Channels to expose.

UNIONS

Device_GetResolution_Result strict

Defined in fuchsia.hardware.adcimpl/adc-impl.fidl

OrdinalVariantTypeDescription
response Device_GetResolution_Response
err zx/Status

Device_GetSample_Result strict

Defined in fuchsia.hardware.adcimpl/adc-impl.fidl

OrdinalVariantTypeDescription
response Device_GetSample_Response
err zx/Status

CONSTANTS

NameValueTypeDescription
ADC_NAME_MAX_LENGTH 64 uint32
METADATA_TYPE_NAME fuchsia.hardware.adcimpl.Metadata String

SERVICES

Service

Defined in fuchsia.hardware.adcimpl/adc-impl.fidl

NameTypeTransport
device fuchsia.hardware.adcimpl/Device Driver