}
Write TEMP SENSOR current register
Function:
0edh
Subfunction:
02h
Purpose:
Writes the register currently pointed to by
the TEMP SENSOR register pointer.
Calling Registers:
AH
0edh
AL
02h
BX
Data to write
DX
ffffh
Return Registers:
Carry flag cleared if successful
Carry flag set if error
AL
Error
code
Comments:
This function shall be used to write the
TEMP SENSOR register currently pointed to.
Programming example 1:
/* Inline assembly code for Borland
C++ 3.1 */
unsigned char aData;
unsigned int bData;
asm
{
mov
ax,0ed01h
mov
bx,bData
mov
dx,ffffh
int
17h
mov
aData,al
}
Read TEMP SENSOR Int Status bit
Function:
0edh
Subfunction:
03
Purpose:
Reads the TEMP SENSOR INT STATUS bit set
when TEMPERAUTRE is greater than THYS value
or TEMPERATURE is less than OS value.
Calling Registers:
AH
0edh
AL
03h
DX
ffffh
Return Registers:
Carry flag cleared if successful
AL
State of int bit
Carry flag set if error
AL
Error
code
Comments:
This function shall be used to write the TEMP
SENSOR register currently pointed to.
Programming example 1:
/* Inline assembly code for Borland C++
3.1 */
unsigned char aData;
asm
{
mov
ax,0ed01h
111