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

uint16_t ddi_bc_SetCurrentLimit ( uint16_t  u16Limit  ) 

Set the current limit.

Function

This function applies a limit to the current that the Battery Charger can draw.

Parameters:
[in] u16Limit The maximum current the Battery Charger can draw (in mA).
Return values:
The expressible version of the limit.

For internal use only.

See also:
To view the function definition, see ddi_bc_api.c.
Function

This function applies a limit to the current that the Battery Charger can draw.

Parameters:
[in] u16Limit The maximum current the Battery Charger can draw (in mA).
Return values:
The expressible version of the limit.

Definition at line 391 of file ddi_bc_api.c.

References ddi_bc_RampSetLimit().

{

      //--------------------------------------------------------------------------
      // Set the limit and return what is actually expressible.
      //--------------------------------------------------------------------------

      return (ddi_bc_RampSetLimit(u16Limit));

}


Generated by  Doxygen 1.6.0   Back to index