
5.
Syntax:
i32 getBattValt(float *vol)
Description:
This function gets the battery voltage ant put it in the memory which is pointed at by
the pointer ‘vol’.
Parameters:
This function takes a pointer to a ‘float’ variable as the parameter. The reading of the
battery voltage is put at the memory which is pointed at by the parameter ‘vol’.
Return Value:
If this function works successfully, it returns 0, any other value standards for error.
6.
Syntax:
i32 getBattMonitor(u8 *val)
Description:
The function gets the status of the Battery Monitor.
Parameters:
This function takes a pointer to an unsigned char variable as the parameter. After
calling this function, the status of the Battery Monitor will be put at the memory which is pointed by
the parameter ‘val’. If the Battery Monitor is enabled, ‘*val’ is 0x5A. If the Battery Monitor is
disabled, the ‘*val’ is 0xA5. Users can use the macros ‘ENABLED’ (0x5A) and ‘DISABLED’(0xA5)
to test the status value ‘*val’.
Return Value:
If this function works successfully, it returns 0, any other value standards for error.
7.
Syntax:
i32 setBattMonitor(u8 val)
Description:
The function sets the status of the Battery Monitor.
Parameters:
This function takes an unsigned char as the parameter. The value of this parameter can
be ‘ENABLED’ (0x5A) or ‘DISABLED’(0xA5).
Return Value:
If this function works successfully, it returns 0, any other value standards for error.
8.
Syntax:
i32 getBattDelta(float *val)
61
Summary of Contents for AR-B6005
Page 1: ...1 AR B6005 Board User Manual ...
Page 8: ...2 2 Locations of I O ports Jumper settings definition 8 ...
Page 20: ...3 3 Superio Setup 20 ...
Page 23: ...3 5 Boot setup Choice boot priority 23 ...
Page 34: ...Driver Page This is the Driver Installation Page 34 ...
Page 35: ...Click the icon all the drivers will be selected 35 ...
Page 36: ...Click the icon all selected items will be cleared 36 ...
Page 38: ...Please click Yes to restart the system 38 ...
Page 43: ...Documents Page Double click on one of the items to open the manual 43 ...