#include <stdio.h>
#include <math.h>
#include "mscbemb.h"
#include "feb64.h"
#include "Devices/pca_internal.h"
#include "Devices/adc_internal.h"
Go to the source code of this file.
Functions | |
void | publishCtlCsr (void) |
void | publishErr (bit errbit) |
void | publishAll () |
void | PublishVariable (float xdata *pvarDest, float varSrce, bit errbit) |
void | updateAdc2Table (void) |
unsigned int | NodeAdd_get (void) |
float | read_voltage (unsigned char channel, unsigned int *rvalue, float coeff, float offset, unsigned char gain) |
void | switchonoff (unsigned char command) |
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 | |
char code | node_name [] = "FEB64" |
char idata | svn_rev_code [] = "$Rev: 1185 $" |
unsigned char idata | _n_sub_addr = 1 |
int xdata | k |
int xdata | calState = 0 |
int xdata | calCount = 0 |
float xdata | calNumber = 10.0 |
char xdata | calQpumpSave = 0 |
char xdata | calSwSave = 0 |
unsigned long xdata | currentTime = 0 |
unsigned long xdata | sstTime = 0 |
unsigned long xdata | sstExtTime = 0 |
unsigned long xdata | calTime = 0 |
unsigned char xdata | status |
unsigned char xdata | channel |
unsigned char xdata | chipAdd |
unsigned char xdata | chipChan |
unsigned char xdata | BiasIndex |
unsigned char xdata | AsumIndex |
unsigned char xdata | NodeOK = 0 |
unsigned char bdata | bChange |
sbit | bCPupdoitNOW = bChange ^ 0 |
sbit | bDacdoitNOW = bChange ^ 1 |
sbit | PCA_Flag = bChange ^ 2 |
sbit | LTC2600_Flag = bChange ^ 3 |
sbit | LTC1665_Flag = bChange ^ 4 |
sbit | LTC1669_Flag = bChange ^ 5 |
sbit | EEP_CTR_Flag = bChange ^ 6 |
sbit | CAsum_Flag = bChange ^ 7 |
sbit | DACRESETN = P1 ^ 0 |
sbit | PCARESETN = P1 ^ 2 |
sbit | ASUM_SYNC = P1 ^ 7 |
sbit | ASUM_TESTN = P1 ^ 6 |
sbit | ASUM_PWDN = P1 ^ 5 |
sbit | REG_EN = P3 ^ 2 |
MSCB_INFO_VAR code | vars [] |
MSCB_INFO_VAR * | variables = vars |
SYS_INFO | sys_info |
void PublishVariable | ( | float xdata * | pvarDest, | |
float | varSrce, | |||
bit | errbit | |||
) |
float read_voltage | ( | unsigned char | channel, | |
unsigned int * | rvalue, | |||
float | coeff, | |||
float | offset, | |||
unsigned char | gain | |||
) |
unsigned char user_func | ( | unsigned char * | data_in, | |
unsigned char * | data_out | |||
) |
unsigned char idata _n_sub_addr = 1 |
sbit ASUM_TESTN = P1 ^ 6 |
sbit bCPupdoitNOW = bChange ^ 0 |
sbit bDacdoitNOW = bChange ^ 1 |
char xdata calQpumpSave = 0 |
sbit CAsum_Flag = bChange ^ 7 |
unsigned long xdata currentTime = 0 |
sbit EEP_CTR_Flag = bChange ^ 6 |
sbit LTC1665_Flag = bChange ^ 4 |
sbit LTC1669_Flag = bChange ^ 5 |
sbit LTC2600_Flag = bChange ^ 3 |
unsigned long xdata sstExtTime = 0 |
char idata svn_rev_code[] = "$Rev: 1185 $" |
SYS_INFO sys_info |