基于Linux系统个和imx6平台,读取MPU内部温度的命令。
root@imx6ul7d:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp
34341
root@imx6ul7d:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_type
passive
root@imx6ul7d:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_temp
85000
root@imx6ul7d:~# cat /sys/class/thermal/thermal_zone0/trip_point_1_type
critical
root@imx6ul7d:~# cat /sys/class/thermal/thermal_zone0/trip_point_1_temp
90000
注释:32341就是32.341℃,其他同理。