Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

uint16_t ddi_bc_hwGetMaxCurrent ( void   ) 

Report the maximum charging current.

Function

This function reports the maximum charging current that will be offered to the battery, as currently set in the hardware.

Return values:
The maximum current setting in the hardware.

Definition at line 125 of file ddi_bc_hw.c.

References ddi_power_GetMaxBatteryChargeCurrent().

Referenced by ddi_bc_Charging(), and ddi_bc_RampStep().

{
      // TODO: replace ddi_bc_hwGetMaxCurrent() with the below function
      return (uint16_t) ddi_power_GetMaxBatteryChargeCurrent();
}


Generated by  Doxygen 1.6.0   Back to index