versadac  1
versadac - Scalable Recorder Firmware
Public Member Functions | Static Public Attributes | List of all members
FrequencyInputSpiScheduledMessage Class Reference

Public Member Functions

 FrequencyInputSpiScheduledMessage (unsigned char device)
 
virtual void sent ()
 
bool wasCommandOk ()
 
bool getTransacted ()
 
void getCountData (unsigned char *channel, bool *sensorBreak, bool *shortCct, bool *shuntFitted, bool *contactFitted, unsigned long *time, unsigned long *count, unsigned short *status)
 
void setConfig (int channel, unsigned char debounceCode, unsigned char voltCode, unsigned char threshold, bool on)
 
void setModuleLEDs (unsigned char leds)
 
void checkTx ()
 

Static Public Attributes

static const unsigned char EIO_FI2_MAGNETIC_THRESHOLD = 255
 
static const unsigned char EIO_FI2_MAX_LOGIC_THRESHOLD = 200
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_50mS = 0x04
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_20mS = 0x08
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_10mS = 0x0C
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_5mS = 0x10
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_500uS = 0x14
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_150uS = 0x18
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_50uS = 0x1C
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_15uS = 0x20
 
static const unsigned char EIO_FI2_DEBOUNCE_CODE_OFF = 0x3C
 
static const unsigned char EIO_FI2_PSU_8V_CODE = 0
 
static const unsigned char EIO_FI2_PSU_12V_CODE = 1
 
static const unsigned char EIO_FI2_PSU_24V_CODE = 3
 

The documentation for this class was generated from the following file: