RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
rt_device_pm_ops结构体 参考

#include <pm.h>

成员变量

rt_err_t(* suspend )(const struct rt_device *device, rt_uint8_t mode)
 
void(* resume )(const struct rt_device *device, rt_uint8_t mode)
 
rt_err_t(* frequency_change )(const struct rt_device *device, rt_uint8_t mode)
 

详细描述

在文件 pm.h136 行定义.

结构体成员变量说明

◆ suspend

rt_err_t(* rt_device_pm_ops::suspend) (const struct rt_device *device, rt_uint8_t mode)

在文件 pm.h138 行定义.

◆ resume

void(* rt_device_pm_ops::resume) (const struct rt_device *device, rt_uint8_t mode)

在文件 pm.h139 行定义.

◆ frequency_change

rt_err_t(* rt_device_pm_ops::frequency_change) (const struct rt_device *device, rt_uint8_t mode)

在文件 pm.h140 行定义.