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

#include <thermal.h>

成员变量

rt_err_t(* get_temp )(struct rt_thermal_zone_device *zdev, int *out_temp)
 
rt_err_t(* set_trips )(struct rt_thermal_zone_device *zdev, int low_temp, int high_temp)
 
rt_err_t(* set_trip_temp )(struct rt_thermal_zone_device *zdev, int trip_id, int temp)
 
rt_err_t(* set_trip_hyst )(struct rt_thermal_zone_device *zdev, int trip_id, int hyst)
 
void(* hot )(struct rt_thermal_zone_device *zdev)
 
void(* critical )(struct rt_thermal_zone_device *zdev)
 

详细描述

在文件 thermal.h106 行定义.

结构体成员变量说明

◆ get_temp

rt_err_t(* rt_thermal_zone_ops::get_temp) (struct rt_thermal_zone_device *zdev, int *out_temp)

在文件 thermal.h108 行定义.

◆ set_trips

rt_err_t(* rt_thermal_zone_ops::set_trips) (struct rt_thermal_zone_device *zdev, int low_temp, int high_temp)

在文件 thermal.h109 行定义.

◆ set_trip_temp

rt_err_t(* rt_thermal_zone_ops::set_trip_temp) (struct rt_thermal_zone_device *zdev, int trip_id, int temp)

在文件 thermal.h110 行定义.

◆ set_trip_hyst

rt_err_t(* rt_thermal_zone_ops::set_trip_hyst) (struct rt_thermal_zone_device *zdev, int trip_id, int hyst)

在文件 thermal.h111 行定义.

◆ hot

void(* rt_thermal_zone_ops::hot) (struct rt_thermal_zone_device *zdev)

在文件 thermal.h112 行定义.

◆ critical

void(* rt_thermal_zone_ops::critical) (struct rt_thermal_zone_device *zdev)

在文件 thermal.h113 行定义.