已新增:7
專家
裝置
定義於 fuchsia.hardware.adc/adc.fidl
GetNormalizedSample
取得正規化為 [0.0-1.0] 的樣本
要求
<EMPTY>
回應
| 名稱 | 類型 |
|---|---|
payload |
Device_GetNormalizedSample_Result
|
GetResolution
以位元數取得 adc 解析度
要求
<EMPTY>
回應
| 名稱 | 類型 |
|---|---|
payload |
Device_GetResolution_Result
|
GetSample
取得範例 - adc 的原始計數
要求
<EMPTY>
回應
| 名稱 | 類型 |
|---|---|
payload |
Device_GetSample_Result
|
結構
Device_GetNormalizedSample_Response
定義於 fuchsia.hardware.adc/adc.fidl
| 欄位 | 類型 | 說明 | 預設 |
|---|---|---|---|
value |
float32
|
無預設 |
Device_GetResolution_Response
定義於 fuchsia.hardware.adc/adc.fidl
| 欄位 | 類型 | 說明 | 預設 |
|---|---|---|---|
resolution |
uint8
|
無預設 |
Device_GetSample_Response
定義於 fuchsia.hardware.adc/adc.fidl
| 欄位 | 類型 | 說明 | 預設 |
|---|---|---|---|
value |
uint32
|
無預設 |
聯合國
Device_Get 正規化 Sample_Result 嚴格
定義於 fuchsia.hardware.adc/adc.fidl
| 序數 | Variant | 類型 | 說明 |
|---|---|---|---|
1 |
response |
Device_GetNormalizedSample_Response
|
|
2 |
err |
zx/Status
|
Device_GetResolution_Result 嚴格
定義於 fuchsia.hardware.adc/adc.fidl
| 序數 | Variant | 類型 | 說明 |
|---|---|---|---|
1 |
response |
Device_GetResolution_Response
|
|
2 |
err |
zx/Status
|
Device_GetSample_Result 嚴格
定義於 fuchsia.hardware.adc/adc.fidl
| 序數 | Variant | 類型 | 說明 |
|---|---|---|---|
1 |
response |
Device_GetSample_Response
|
|
2 |
err |
zx/Status
|
服務
服務
定義於 fuchsia.hardware.adc/adc.fidl
| 名稱 | 類型 | 傳輸 |
|---|---|---|
| 裝置 |
fuchsia.hardware.adc/Device
|
版本 |