Sensors_event_t構造体リファレンス

Sensors_event_t構造体リファレンス

#include < sensors.h >

データフィールド

int32_tバージョン
int32_tセンサー
int32_tタイプ
int32_t reserved0
int64_tタイムスタンプ
ユニオン{
ユニオン{
フロートデータ[16]
Sensors_vec_tアクセラレーション
Sensors_vec_t Magnetic
Sensors_vec_tの向き
センサー_vec_tジャイロ
フロート温度
フロート距離
フロートライト
フロート圧力
フロートrelative_humidity
uncalibrated_event_t uncalibrated_gyro
uncalibrated_event_tuncalibrated_magnetic _
heart_rate_event_t heart_rate
meta_data_event_t meta_data
dynamic_sensor_meta_event_t dynamic_sensor_meta
additional_info_event_t additional_info
}
ユニオン{
uint64_tデータ[8]
uint64_t step_counter
} u64
};
uint32_tフラグ
uint32_t reserved1 [3]

詳細な説明

返される可能性のあるさまざまなタイプのセンサーデータの結合。

ファイルsensors.h1053行で定義されています。

フィールドドキュメント

ユニオン{​​...}
Sensors_vec_tアクセラレーション

ファイルsensors.h1074行で定義されています。

additional_info_event_t additional_info

ファイルsensors.hの行1122での定義。

フロートデータ[16]

ファイルsensors.h1071行で定義されています。

uint64_tデータ[8]

ファイルsensors.h1126行で定義されています。

フロート距離

ファイルsensors.h1089行で定義されています。

dynamic_sensor_meta_event_t dynamic_sensor_meta

ファイルsensors.h1116行で定義されています。

uint32_tフラグ

ファイルsensors.h1134行で定義されています。

センサー_vec_tジャイロ

ファイルsensors.h1083行で定義されています。

ファイルsensors.h1107行で定義されています。

フロートライト

ファイルsensors.h1092行で定義されています。

Sensors_vec_t Magnetic

ファイルsensors.h1077行で定義されています。

ファイルsensors.h1113行で定義されています。

ファイルsensors.h1080行での定義。

フロート圧力

ファイルsensors.h1095行で定義されています。

フロートrelative_humidity

ファイルsensors.h1098行で定義されています。

int32_t reserved0

ファイルsensors.h1064行で定義されています。

uint32_t reserved1 [3]

ファイルsensors.h1136行で定義されています。

int32_tセンサー

ファイルsensors.h1058行で定義されています。

uint64_t step_counter

ファイルsensors.h1129行で定義されています。

フロート温度

ファイルsensors.h1086行で定義されています。

int64_tタイムスタンプ

ファイルsensors.h1067行で定義されています。

int32_tタイプ

ファイルsensors.h1061行で定義されています。

ユニオン{​​...}u64
uncalibrated_event_t uncalibrated_gyro

ファイルsensors.h1101行で定義されています。

ファイルsensors.h1104行で定義されています。

int32_tバージョン

ファイルsensors.h1055行で定義されています。


この構造体のドキュメントは、次のファイルから生成されました。
  • ハードウェア/libhardware/ include / hardware / Sensors.h