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

ddi_bc_ramp.c File Reference


Detailed Description

Contains the Battery Charger current ramp controller.

Date:
06/2005
This file contains Battery Charger current ramp controller.

Definition in file ddi_bc_ramp.c.

#include <mach/ddi_bc.h>
#include "ddi_bc_internal.h"

Go to the source code of this file.

Classes

struct  _ddi_bc_RampControl
 This is the control structure for the current ramp. More...

Typedefs

typedef struct _ddi_bc_RampControl ddi_bc_RampControl_t
 This is the control structure for the current ramp.

Functions

int ddi_bc_RampGetAmbientTempAlarm (void)
 Reports the state of the ambient temperature alarm.
int ddi_bc_RampGetBatteryTempAlarm (void)
 Reports the state of the battery temperature alarm.
int ddi_bc_RampGetDieTempAlarm (void)
 Reports the state of the die temperature alarm.
uint16_t ddi_bc_RampGetLimit (void)
 Report the current limit.
uint16_t ddi_bc_RampGetTarget (void)
 Report the target.
void ddi_bc_RampReset ()
 Reset the current ramp.
uint16_t ddi_bc_RampSetLimit (uint16_t u16Limit)
 Set the current limit.
uint16_t ddi_bc_RampSetTarget (uint16_t u16Target)
 Set the target current.
ddi_bc_Status_t ddi_bc_RampStep (uint32_t u32Time)
 Step the current ramp.
void ddi_bc_RampUpdateAlarms ()
 Update alarms.

Variables

static ddi_bc_RampControl_t g_RampControl
 This structure contains control information for the current ramp.


Generated by  Doxygen 1.6.0   Back to index