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

void ddi_bc_ShutDown ( void   ) 

Shut down the Battery Charger.

Function

This function immediately shuts down the Battery Charger hardware and returns the state machine to the Uninitialized state. Use this function to safely “mummify” the battery charger before retiring it from memory.

For internal use only.

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

This function immediately shuts down the Battery Charger hardware and returns the state machine to the Uninitialized state. Use this function to safely “mummify” the battery charger before retiring it from memory.

Definition at line 86 of file ddi_bc_api.c.

References ddi_bc_RampReset(), DDI_BC_STATE_UNINITIALIZED, and g_ddi_bc_State.

{

      //--------------------------------------------------------------------------
      // Reset the current ramp.
      //--------------------------------------------------------------------------

      ddi_bc_RampReset();

      //--------------------------------------------------------------------------
      // Move to the Uninitialized state.
      //--------------------------------------------------------------------------

      g_ddi_bc_State = DDI_BC_STATE_UNINITIALIZED;

}


Generated by  Doxygen 1.6.0   Back to index