projekty/Source/example1/src/maxim.h File Reference

#include <types.h>
#include "./include/lpc2119.h"

Go to the source code of this file.

Defines

#define MAX1039_W   0xCA
#define MAX1039_R   0xCB
#define MAX_7300AAI_W   0x80
#define MAX_7300AAI_R   0x81
#define MAX_7300AAI_1_W   0x82
#define MAX_7300AAI_1_R   0x83
#define DO_7300AAI_A_O   0x1111

Functions

char AD_MAX_Init (void)
short DO_MAX_Init (short)
unsigned int AD_MAX_Read (char)
short DO_H (void)
char DO_L (void)


Define Documentation

#define DO_7300AAI_A_O   0x1111

Definition at line 40 of file maxim.h.

#define MAX1039_R   0xCB

Definition at line 33 of file maxim.h.

Referenced by AD_MAX_Read().

#define MAX1039_W   0xCA

Definition at line 32 of file maxim.h.

Referenced by AD_MAX_Init(), AD_MAX_Read(), and Init().

#define MAX_7300AAI_1_R   0x83

Definition at line 38 of file maxim.h.

#define MAX_7300AAI_1_W   0x82

Definition at line 37 of file maxim.h.

Referenced by DO_MAX_Init(), and Init().

#define MAX_7300AAI_R   0x81

Definition at line 35 of file maxim.h.

#define MAX_7300AAI_W   0x80

Definition at line 34 of file maxim.h.

Referenced by DO_H(), DO_L(), DO_MAX_Init(), and Init().


Function Documentation

char AD_MAX_Init ( void   ) 

Definition at line 157 of file maxim.c.

References AD_CONF, AD_HS_MOD, AD_SETUP, disableIRQ(), enableIRQ(), MAX1039_W, printf(), SendSlaveAdress(), and WriteOnI2C().

unsigned int AD_MAX_Read ( char   ) 

Definition at line 191 of file maxim.c.

References AD_CONF, MAX1039_R, MAX1039_W, MStatistika(), printf(), SendSlaveAdress(), and WriteOnI2C().

short DO_H ( void   ) 

Definition at line 43 of file maxim.c.

References I2C_SetSTO(), MAX_7300AAI_W, printf(), SendSlaveAdress(), and WriteOnI2C().

Referenced by DoMenu().

char DO_L ( void   ) 

Definition at line 70 of file maxim.c.

References I2C_SetSTO(), MAX_7300AAI_W, printf(), SendSlaveAdress(), and WriteOnI2C().

Referenced by DoMenu().

short DO_MAX_Init ( short   ) 

Definition at line 98 of file maxim.c.

References disableIRQ(), DO_MAX_Init(), enableIRQ(), I2C_I2STAT, I2C_SetSTO(), MAX_7300AAI_1_W, MAX_7300AAI_W, printf(), SendSlaveAdress(), and WriteOnI2C().

Referenced by DO_MAX_Init(), and DoMenu().


Generated on Fri Sep 21 13:41:55 2007 for example1 by  doxygen 1.4.7