Cat
Classes | Macros | Typedefs | Variables
ICECALv3.h File Reference
#include "Element.h"
#include "Register.h"
#include <stdlib.h>
#include <string>
#include <python2.7/Python.h>
#include <iostream>
#include <fstream>
#include <time.h>

Go to the source code of this file.

Classes

class  ICECALv3
 

Macros

#define CALIBRATION_FILE_VER   "0.99"
 
#define SPI_N_RETRIES   2
 
#define SC_SOFT_RST   0x40
 
#define SC_MOSI_MISO_BYPASS   0xFF
 
#define ICECAL_VERSION_ADDR   0xB0
 
#define BXID_RESYNCH_ADDR   0xB1
 

Typedefs

typedef unsigned long U32
 
typedef unsigned short U16
 
typedef unsigned char U8
 

Variables

const int delayLineAddrCh [4] = { 28, 29, 30, 31 }
 
const int icecalLSBAddrCh [4] = { 0, 1, 2, 3 }
 
const int icecalMSBAddrCh [4] = { 4, 5, 6, 7 }
 
const int icecalMainAddr [4] = { 8, 9, 10, 11 }
 

Macro Definition Documentation

◆ BXID_RESYNCH_ADDR

#define BXID_RESYNCH_ADDR   0xB1

Definition at line 37 of file ICECALv3.h.

Referenced by ICECALv3::bxidResynchStatus().

◆ CALIBRATION_FILE_VER

#define CALIBRATION_FILE_VER   "0.99"

Definition at line 27 of file ICECALv3.h.

Referenced by ICECALv3::writeAsicParams().

◆ ICECAL_VERSION_ADDR

#define ICECAL_VERSION_ADDR   0xB0

Definition at line 36 of file ICECALv3.h.

Referenced by ICECALv3::version().

◆ SC_MOSI_MISO_BYPASS

#define SC_MOSI_MISO_BYPASS   0xFF

Definition at line 33 of file ICECALv3.h.

Referenced by ICECALv3::bypassMisoMosi(), and LSDelayChipV1::bypassMisoMosi().

◆ SC_SOFT_RST

#define SC_SOFT_RST   0x40

Definition at line 32 of file ICECALv3.h.

Referenced by ICECALv3::resetPumps().

◆ SPI_N_RETRIES

#define SPI_N_RETRIES   2

Definition at line 28 of file ICECALv3.h.

Typedef Documentation

◆ U16

typedef unsigned short U16

Definition at line 54 of file ICECALv3.h.

◆ U32

typedef unsigned long U32

Definition at line 53 of file ICECALv3.h.

◆ U8

typedef unsigned char U8

Definition at line 55 of file ICECALv3.h.

Variable Documentation

◆ delayLineAddrCh

const int delayLineAddrCh[4] = { 28, 29, 30, 31 }

◆ icecalLSBAddrCh

const int icecalLSBAddrCh[4] = { 0, 1, 2, 3 }

Definition at line 45 of file ICECALv3.h.

Referenced by ICECALv3::getAnalogCh(), ICECALv3::setAnalogCh(), and ICECALv3::spiFERTest().

◆ icecalMainAddr

const int icecalMainAddr[4] = { 8, 9, 10, 11 }

Definition at line 50 of file ICECALv3.h.

Referenced by ICECALv3::getMainReg(), ICECALv3::setMainReg(), and ICECALv3::spiFERTest().

◆ icecalMSBAddrCh

const int icecalMSBAddrCh[4] = { 4, 5, 6, 7 }

Definition at line 47 of file ICECALv3.h.

Referenced by ICECALv3::getAnalogCh(), ICECALv3::setAnalogCh(), and ICECALv3::spiFERTest().