WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
CHIP Platform PLATFORM Driver
CHIP Platform PLATFORM Driver 的协作图:

结构体

struct  driver_operation
 
struct  plt_dev_t
 

类型定义

typedef struct plt_dev_t plt_dev_t
 

枚举

enum  dev_type_e { DEV_WAKEUP , DEV_ZOMBIE }
 
enum  dev_power_e { DEV_POWER_ON , DEV_POWER_OFF }
 

函数

int platform_driver_init (void)
 Platform driver init.
 
int platform_driver_register (plt_dev_t *device)
 Platform device driver register.
 
void platform_device_resume (void)
 Platform device resume.restore clock or power on.
 
void platform_device_suspend (void)
 Platform device suspend.gating clock or power off.
 

详细描述

类型定义说明

◆ plt_dev_t

typedef struct plt_dev_t plt_dev_t

枚举类型说明

◆ dev_power_e

枚举值
DEV_POWER_ON 
DEV_POWER_OFF 

◆ dev_type_e

enum dev_type_e
枚举值
DEV_WAKEUP 
DEV_ZOMBIE 

函数说明

◆ platform_device_resume()

void platform_device_resume ( void  )

Platform device resume.restore clock or power on.

返回
None

◆ platform_device_suspend()

void platform_device_suspend ( void  )

Platform device suspend.gating clock or power off.

返回
None

◆ platform_driver_init()

int platform_driver_init ( void  )

Platform driver init.

◆ platform_driver_register()

int platform_driver_register ( plt_dev_t device)

Platform device driver register.

参数
devicedevice
返回
None