#ifndef __DEFINE__
#define __DEFINE__


	typedef unsigned char  	u8;
	typedef unsigned short 	u16;
	typedef unsigned long  	u32;
	
	typedef signed char    	i8;
	typedef signed short int i16;
	typedef signed long    	i32;
	
	typedef struct __bits8_t
	{
		unsigned bit0	:1;
		unsigned bit1	:1;
		unsigned bit2	:1;
		unsigned bit3	:1;
		unsigned bit4	:1;
		unsigned bit5	:1;
		unsigned bit6	:1;
		unsigned bit7	:1;
	}bits8;


#define	    LVD_BAT_4_73    0x22
#define	    LVD_BAT_4_62    0x00
#define	    LVD_BAT_4_46    0x16
#define	    LVD_BAT_4_33    0x23
#define	    LVD_BAT_4_16    0x01
#define	    LVD_BAT_4_00    0x24

#define	    LVD_BAT_3_90    0x17
#define	    LVD_BAT_3_78    0x02
#define	    LVD_BAT_3_71    0x25
#define	    LVD_BAT_3_47    0x26
#define	    LVD_BAT_3_25    0x27
#define	    LVD_BAT_3_20    0x04

#define	    LVD_BAT_3_12    0x19
#define	    LVD_BAT_3_06    0x28
#define	    LVD_BAT_2_97    0x05
#define	    LVD_BAT_2_89    0x29
#define	    LVD_BAT_2_84    0x1A
#define	    LVD_BAT_2_77    0x06

#define	    LVD_BAT_2_74    0x2A
#define	    LVD_BAT_2_60    0x2B
#define	    LVD_BAT_2_48    0x2C
#define	    LVD_BAT_2_45    0x08
#define	    LVD_BAT_2_40    0x1C
#define	    LVD_BAT_2_36    0x2D

#define	    LVD_BAT_2_31    0x09
#define	    LVD_BAT_2_26    0x2E
#define	    LVD_BAT_2_23    0x1D
#define	    LVD_BAT_2_19    0x0A
#define	    LVD_BAT_2_17    0x2F
#define	    LVD_BAT_2_08    0x0B
#define	    LVD_BAT_1_98    0x0C

#endif