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

#include "maxim.h"

Go to the source code of this file.

Defines

#define AD_HS_MOD   0x08
#define AD_RESET   0xFE
#define AD_SETUP   0x80
#define AD_CONF   0x61
#define INC   10

Functions

short DO_H (void)
char DO_L (void)
short DO_MAX_Init (short Val)
char AD_MAX_Init (void)
uint32_t MStatistika (void)
unsigned int AD_MAX_Read (char channel)


Define Documentation

#define AD_CONF   0x61

Definition at line 38 of file maxim.c.

Referenced by AD_MAX_Init(), and AD_MAX_Read().

#define AD_HS_MOD   0x08

Definition at line 28 of file maxim.c.

Referenced by AD_MAX_Init().

#define AD_RESET   0xFE

Definition at line 29 of file maxim.c.

#define AD_SETUP   0x80

Definition at line 31 of file maxim.c.

Referenced by AD_MAX_Init().

#define INC   10

Definition at line 183 of file maxim.c.


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  channel  ) 

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  Val  ) 

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().

uint32_t MStatistika ( void   ) 

Definition at line 184 of file maxim.c.

References INC, and ReadOnI2C().

Referenced by AD_MAX_Read().


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