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

#include <thermal.h>

成员变量

rt_err_t(* bind )(struct rt_thermal_cooling_device *cdev, struct rt_thermal_zone_device *zdev)
 
rt_err_t(* unbind )(struct rt_thermal_cooling_device *cdev, struct rt_thermal_zone_device *zdev)
 
rt_err_t(* get_max_level )(struct rt_thermal_cooling_device *cdev, rt_ubase_t *out_level)
 
rt_err_t(* get_cur_level )(struct rt_thermal_cooling_device *cdev, rt_ubase_t *out_level)
 
rt_err_t(* set_cur_level )(struct rt_thermal_cooling_device *cdev, rt_ubase_t level)
 

详细描述

在文件 thermal.h136 行定义.

结构体成员变量说明

◆ bind

rt_err_t(* rt_thermal_cooling_device_ops::bind) (struct rt_thermal_cooling_device *cdev, struct rt_thermal_zone_device *zdev)

在文件 thermal.h138 行定义.

◆ unbind

rt_err_t(* rt_thermal_cooling_device_ops::unbind) (struct rt_thermal_cooling_device *cdev, struct rt_thermal_zone_device *zdev)

在文件 thermal.h139 行定义.

◆ get_max_level

rt_err_t(* rt_thermal_cooling_device_ops::get_max_level) (struct rt_thermal_cooling_device *cdev, rt_ubase_t *out_level)

在文件 thermal.h140 行定义.

◆ get_cur_level

rt_err_t(* rt_thermal_cooling_device_ops::get_cur_level) (struct rt_thermal_cooling_device *cdev, rt_ubase_t *out_level)

在文件 thermal.h141 行定义.

◆ set_cur_level

rt_err_t(* rt_thermal_cooling_device_ops::set_cur_level) (struct rt_thermal_cooling_device *cdev, rt_ubase_t level)

在文件 thermal.h142 行定义.