Manual
Copyright © Dr Robot Inc. 2008
42
Parameter: void
Return value: Byte ival
Bit Description
0 X
1 X
2 X
3 X
4 X
5 Power by DCIN
6 Power by Battery 2
7 Power by Battery 1
V.9. byte GetCHGStatus( )
Description:
GetCHGStatus returns the status of power controller.
Syntax: ival = GetCHGStatus ();
Parameter: void
Return value: Byte ival
Bit Description
0 X
1 X
2 - CH 1 -- Charging 0 – no charge
3 – PF Power fail
4 -DC DCDIV comparator output
5 – LP Lower power
6—FA Fault(on reset, short circuit, shut down by DCDIV
7 X
V.10. void SendCmdCHG( )
Description:
SendCmdCHG sends the command to power controller.
Syntax: void SendCmdCHG (byte ival);
Parameter: byte ival
Return value: void
Bit Description
0 Reset WIFI1 – power 0 – reset 200ms
1 Reset TI 1 – power 0 – reset 200ms
2 Motor805 power 1—power 0 – turn off
3 Power by DCIN










