/home/daqweb/fgddaq/c8051/temp36.c File Reference

#include <stdio.h>
#include <math.h>
#include "mscbemb.h"
#include "temp36.h"

Go to the source code of this file.

Functions

void publishCtlCsr (void)
void publishErr (bit errbit)
void publishAll ()
void autocalibration (float reference)
int eepageAddrConvert (unsigned int index)
void user_init (unsigned char init)
void user_write (unsigned char index) reentrant
unsigned char user_read (unsigned char index)
unsigned char user_func (unsigned char *data_in, unsigned char *data_out)
void user_loop (void)

Variables

unsigned char idata _n_sub_addr = 1
char code node_name [] = "temp36"
char idata svn_rev_code [] = "$Rev: 1180 $"
bit EEP_CTR_Flag
bit LTC2600_Flag
bit REF_Flag
int xdata * eep_address
static unsigned char tcounter
static unsigned char xdata eeprom_flag = CLEAR
unsigned char xdata eeprom_wstatus
unsigned char xdata eeprom_rstatus
unsigned int xdata eeptemp_addr
unsigned char xdata * eeptemp_source
unsigned char xdata eep_request
unsigned char xdata status
float xdata humidity
float xdata htemperature
unsigned int xdata rSHTtemp1
unsigned int xdata rSHThumi1
unsigned int xdata rSHTtemp2
unsigned int xdata rSHThumi2
unsigned char xdata FCSorig1
unsigned char xdata FCSdevi1
unsigned char xdata FCSorig2
unsigned char xdata FCSdevi2
unsigned char xdata cavg = 0
unsigned char idata channel
unsigned char idata avgcount
unsigned char idata numavg = 0
float xdata average
float xdata temperature
SYS_INFO sys_info
MSCB_INFO_VAR code vars []
MSCB_INFO_VAR * variables = vars

Function Documentation

void autocalibration ( float  reference  ) 

Definition at line 226 of file temp36.c.

int eepageAddrConvert ( unsigned int  index  ) 

Definition at line 249 of file temp36.c.

void publishAll (  ) 

Definition at line 217 of file temp36.c.

void publishCtlCsr ( void   ) 

Definition at line 199 of file temp36.c.

void publishErr ( bit  errbit  ) 

Definition at line 208 of file temp36.c.

unsigned char user_func ( unsigned char *  data_in,
unsigned char *  data_out 
)

Definition at line 451 of file temp36.c.

void user_init ( unsigned char  init  ) 

Definition at line 262 of file temp36.c.

void user_loop ( void   ) 

Definition at line 461 of file temp36.c.

unsigned char user_read ( unsigned char  index  ) 

Definition at line 444 of file temp36.c.

void user_write ( unsigned char  index  ) 

Definition at line 423 of file temp36.c.


Variable Documentation

unsigned char idata _n_sub_addr = 1

Definition at line 38 of file temp36.c.

float xdata average

Definition at line 68 of file temp36.c.

unsigned char idata avgcount

Definition at line 67 of file temp36.c.

unsigned char xdata cavg = 0

Definition at line 66 of file temp36.c.

unsigned char idata channel

Definition at line 67 of file temp36.c.

int xdata* eep_address

Definition at line 51 of file temp36.c.

Definition at line 46 of file temp36.c.

unsigned char xdata eep_request

Definition at line 57 of file temp36.c.

unsigned char xdata eeprom_flag = CLEAR [static]

Definition at line 53 of file temp36.c.

unsigned char xdata eeprom_rstatus

Definition at line 54 of file temp36.c.

unsigned char xdata eeprom_wstatus

Definition at line 54 of file temp36.c.

unsigned int xdata eeptemp_addr

Definition at line 55 of file temp36.c.

unsigned char xdata* eeptemp_source

Definition at line 56 of file temp36.c.

unsigned char xdata FCSdevi1

Definition at line 63 of file temp36.c.

unsigned char xdata FCSdevi2

Definition at line 63 of file temp36.c.

unsigned char xdata FCSorig1

Definition at line 63 of file temp36.c.

unsigned char xdata FCSorig2

Definition at line 63 of file temp36.c.

float xdata htemperature

Definition at line 61 of file temp36.c.

float xdata humidity

Definition at line 61 of file temp36.c.

Definition at line 47 of file temp36.c.

char code node_name[] = "temp36"

Definition at line 42 of file temp36.c.

unsigned char idata numavg = 0

Definition at line 67 of file temp36.c.

bit REF_Flag

Definition at line 48 of file temp36.c.

unsigned int xdata rSHThumi1

Definition at line 62 of file temp36.c.

unsigned int xdata rSHThumi2

Definition at line 62 of file temp36.c.

unsigned int xdata rSHTtemp1

Definition at line 62 of file temp36.c.

unsigned int xdata rSHTtemp2

Definition at line 62 of file temp36.c.

unsigned char xdata status

Definition at line 60 of file temp36.c.

char idata svn_rev_code[] = "$Rev: 1180 $"

Definition at line 43 of file temp36.c.

SYS_INFO sys_info
unsigned char tcounter [static]

Definition at line 52 of file temp36.c.

float xdata temperature

Definition at line 69 of file temp36.c.

MSCB_INFO_VAR* variables = vars

Definition at line 194 of file temp36.c.

MSCB_INFO_VAR code vars[]

Definition at line 86 of file temp36.c.


Generated on 1 Feb 2022 for C8051-TEMP36 by  doxygen 1.6.1