Android FrameWork HAL深度开发wds
struct hw_device_t;
hw_module_t
描述抽象硬件,关键成员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;