physical_sensor_description_t 结构体参考文档
  
   #include <
   
    context_hub.h
   
   >
  
 
    数据字段 | 
  |
| uint32_t | sensor_type | 
| const char * | type_string | 
| const char * | name | 
| const char * | 供应商 | 
| uint32_t | 版本 | 
| uint32_t | fifo_reserved_count | 
| uint32_t | fifo_max_count | 
| uint64_t | min_delay_ms | 
| uint64_t | max_delay_ms | 
| 浮点数 | peak_power_mw | 
详细说明
以下结构描述了传感器
定义位于文件 context_hub.h 的 181 行 。
字段文档
| uint32_t fifo_max_count | 
定义位于文件 context_hub.h 的 193 行 。
| uint32_t fifo_reserved_count | 
定义位于文件 context_hub.h 的 187 行 。
| uint64_t max_delay_ms | 
定义位于文件 context_hub.h 的 196 行。
| uint64_t min_delay_ms | 
定义位于文件 context_hub.h 的 194 行。
| const char* name | 
定义位于文件 context_hub.h 的 184 行。
| float peak_power_mw | 
定义位于文件 context_hub.h 的 198 行 。
| uint32_t sensor_type | 
定义位于文件 context_hub.h 的 182 行 。
| const char* type_string | 
定义位于文件 context_hub.h 的 183 行 。
| const char* vendor | 
定义位于文件 context_hub.h 的 185 行。
| uint32_t 版本 | 
定义位于文件 context_hub.h 的 186 行。
此结构体的文档是根据以下文件生成的:
- hardware/libhardware/include/hardware/ context_hub.h