首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 消费类电子 > Android驱动开发热门资料发布帖

Android驱动开发热门资料发布帖

资料介绍
HAL_sensor模型分析

47:
48: #ifndef ANDROID_SENSORS_INTERFACE_H
49: #define ANDROID_SENSORS_INTERFACE_H
50:
51: #include
52: #include
53: #include
54:
55: #include
56: #include
57:
58: __BEGIN_DECLS
59:
60: /**
61: * The id of this module
62: */
63: #define SENSORS_HARDWARE_MODULE_ID "sensors"
64: 定义了sensor的ID,HAL层通过这个ID找到Stub
65: /**
66: * Name of the sensors device to open
67: */
68: #define SENSORS_HARDWARE_CONTROL "control"
69: #define SENSORS_HARDWARE_DATA "data"
70:
71: /**
72: * Handles must be higher than SENSORS_HANDLE_BASE and must be unique.
73: * A Handle identifies a given sensors. The handle is used to activate
74: * and/or deactivate sensors.
75: * In this versi
标签:sensor模型分析
Android驱动开发热门资料发布帖
本地下载

评论