Unitech PA982 User Manual Page 44

  • Download
  • Add to my manuals
  • Print
  • Page
    / 105
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 43
-
7.8.5 Inquire IO slot status
Function Description:
This function returns slot enable/disable status. It is recommended to use with function
GetPCMCIASlotID() for platform independent reason.
Function call:
BOOL GetPCMCIAStatus1(UINT uSocket)
Parameters(Input)
uSocket: UINT: slot to be applied.
Return
bEnable : BOOL: TRUE = specified slot is enabled.
FALSE = specified slot is disable.
Example
To check PCMCIA slot status,
#define PCMCIA_SOCKET 0 (PA966/PA962/PA982 only)
#define CF_SOCKET 1
if (GetPCMCIAStatus1(GetPCMCIASlotID(PCMCIA_SLOT)))
{
}
7.8.6 Disable PCMCIA/CF slot when resume
Function Description:
This function will disable the specified slot after resume even though that slot is enabled before
suspend.
Function call:
void DisablePCMCIAUponResume( UINT uSocket, BOOL bDisable);
Parameters(Input)
uSocket: UINT: 1 = physical socket 1
0 = for physical socket 0
bDisable: BOOL: TRUE disable on resume
FALSE enable on resume
7.9 Check battery type
Function Description:
Check if HT6xx/PA96x/PA982 is installed smart battery and battery ID.
Function call:
BYTE GetSmartBatteryID(void);
Return
0 : Not Smart Battery
Other : Smart battery it
Page view 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 104 105

Comments to this Manuals

No comments