fuchsia.hardware.adc

Added: 7

PROTOCOLS

Device

Defined in fuchsia.hardware.adc/adc.fidl

GetNormalizedSample

Get sample normalized to [0.0-1.0]

Request

<EMPTY>

Response

NameType
payload Device_GetNormalizedSample_Result

GetResolution

Get adc resolution in number of bits

Request

<EMPTY>

Response

NameType
payload Device_GetResolution_Result

GetSample

Get sample - raw count from adc

Request

<EMPTY>

Response

NameType
payload Device_GetSample_Result

STRUCTS

Device_GetNormalizedSample_Response

Defined in fuchsia.hardware.adc/adc.fidl

FieldTypeDescriptionDefault
value float32 No default

Device_GetResolution_Response

Defined in fuchsia.hardware.adc/adc.fidl

FieldTypeDescriptionDefault
resolution uint8 No default

Device_GetSample_Response

Defined in fuchsia.hardware.adc/adc.fidl

FieldTypeDescriptionDefault
value uint32 No default

UNIONS

Device_GetNormalizedSample_Result strict

Defined in fuchsia.hardware.adc/adc.fidl

OrdinalVariantTypeDescription
response Device_GetNormalizedSample_Response
err zx/Status

Device_GetResolution_Result strict

Defined in fuchsia.hardware.adc/adc.fidl

OrdinalVariantTypeDescription
response Device_GetResolution_Response
err zx/Status

Device_GetSample_Result strict

Defined in fuchsia.hardware.adc/adc.fidl

OrdinalVariantTypeDescription
response Device_GetSample_Response
err zx/Status

SERVICES

Service

Defined in fuchsia.hardware.adc/adc.fidl

NameTypeTransport
device fuchsia.hardware.adc/Device Channel