Android FrameWork HAL深度開發(fā)wds
struct hw_device_t;
hw_module_t
描述抽象硬件,關(guān)鍵成員methods
typedef struct hw_module_t {
? ? ...
? ? /** Identifier of module */
? ? const char *id;
? ? /** Name of this module */
? ? const char *name;
? ? /** Author/owner/implementor of the module */
? ? const char *author;
? ? /** Modules methods */
? ? struct hw_module_methods_t* methods;
? ? ...
}hw_module_t;
標(biāo)簽: