AN137 Silicon_Laboratories, AN137 Datasheet - Page 19

no-image

AN137

Manufacturer Part Number
AN137
Description
Lithium ION Battery Charger Using C8051f300
Manufacturer
Silicon_Laboratories
Datasheet
//-----------------------------------------------------------------------------
//
// Copyright 2002 Cygnal Integrated Products, Inc.
//
// Filename:
// Target Device: 8051F300
// Created:
// Created By:
// Tool chain: KEIL Eval C51
//
// This header file is used to define all preprocessor directives, prototypes,
// and global variable for LIION_BC_MAIN.c.
//
// The user should modify this header file before proceeding as key
//
//
//-----------------------------------------------------------------------------
// Function Prototypes
//-----------------------------------------------------------------------------
void Config_F300(void);
void Reset_Time_Base(void);
void CalibrateADCforMeasurement(void);
void Regulate_Current(int);
void Regulate_Voltage(void);
void Turn_PWM_Off(void);
int
void Bulk_Charge(void);
void Lowcurrent_Charge(void);
unsigned int Measure(void);
void Delay_Loop(void);
//-----------------------------------------------------------------------------
// UNIONs, STRUCTUREs, and ENUMs
//-----------------------------------------------------------------------------
typedef union LONG {
} LONG;
typedef union INT {
} INT;
typedef struct
{
}time_struct;
//-----------------------------------------------------------------------------
// Global Variable Definitions
long l;
unsigned char b[4];
int i;
unsigned char b[2];
unsigned long int t_count;
int sec;
int min;
int hour;
Monitor_Battery(unsigned char);
battery parameter limits are set here.
LIION_BC_MAIN.h
11 SEP 2002
DKC
// byte-addressable LONG
// byte-addressable INT
// global seconds
// global minutes
// global hour
Rev. 1.2
AN137
19

Related parts for AN137