Owners manual
System
H3 Datasheet(Revision1.2) Copyright© 2015 Allwinner Technology Co.,Ltd.All Rights Reserved. Page 259
31:28
/
/
/
27:16
/
/
/
15:12
/
/
/
11:0
R/W
0x800
THS_CDATA.
Thermal Sensor calibration data
4.19.4.11. THS Data Register (Default Value: 0x00000000)
Offset: 0x80
Register Name: THS_DATA _REG
Bit
R/W
Default/Hex
Description
31:12
/
/
/
11:0
R
0x0
THS_DATA.
Temperature measurement data of sensor
4.19.5. Programming Guidelines
1) Timing must be like this: THERMAL_PER > ACQ1 + ACQ0+Conversion Time
2) Configure THS Interrupt Control Register to set the THERMAL_PER and IRQ
3) Configure the Alarm threshold Control Register and Shutdown threshold Control Register to set the ALARM_T_HOT
and SHUT_T_HOT
4) Configure THS Control Register to set the SENSOR_ACQ and enable the sensor
5) The real temperature value of each sensor is Tem, then
T = (Tem -2794)/-14.882
Reading back the temperature from the temperature value register requires a 2-byte read. Use 12-bit temperature data
format.
confidential