CSIS3600.cpp File Reference

#include <config.h>
#include "CSIS3600.h"

Go to the source code of this file.

Classes

struct  StatusRegister
struct  ControlRegister
struct  IdIrq
union  IdRegister
union  StatReg
union  CtlReg

Defines

#define CSR   0x000
#define IDIRQ   0x004
#define FCLEARWIN   0x008
#define OPFREQ   0x00c
#define WRITEFIFO   0x010
#define CLEARFIFO   0x020
#define NEXTCLOCK   0x024
#define ENABLENEXTCLOCK   0x028
#define DISABLENEXTCLOCK   0x02c
#define ENABLEFCLEAR   0x050
#define DISABLEFCLEAR   0x054
#define RESET   0x060
#define PULSEOUT   0x068
#define CBLTSETUP   0x080
#define FIFO   0x100
#define SetBit(reg, field, value)   reg.bits.field = value
#define GetBit(reg, field)   reg.bits.field
#define Zero(reg)   reg.l = 0
#define Long(reg)   reg.l

Functions

static const unsigned int ModuleLength (0x200)
 size of the module.


Define Documentation

#define CBLTSETUP   0x080

Definition at line 309 of file CSIS3600.cpp.

#define CLEARFIFO   0x020

Definition at line 301 of file CSIS3600.cpp.

Referenced by CSIS3600::ClearData().

#define CSR   0x000

Definition at line 296 of file CSIS3600.cpp.

Referenced by CSIS3600::ClearLed(), CSIS3600::CSIS3600(), CSIS3600::DataReady(), CSIS3600::DisableExternalClear(), CSIS3600::DisableExternalNext(), CSIS3600::EnableExternalClear(), CSIS3600::EnableExternalNext(), CSIS3600::EndLatch(), CSIS3600::ExternalClearEnabled(), CSIS3600::ExternalNextEnabled(), CSIS3820::getCsr(), CADC2530::getCSR(), CSIS3600::isLatchMode(), CSIS3600::isLedLit(), CSIS3600::LightLed(), CADC2530::resetCSRbits(), CSIS3600::SetCoincidenceMode(), CSIS3820::setCSR(), CADC2530::setCSR(), CADC2530::setCSRbits(), CSIS3600::SetLatchMode(), and CSIS3600::StartLatch().

#define DISABLEFCLEAR   0x054

Definition at line 306 of file CSIS3600.cpp.

#define DISABLENEXTCLOCK   0x02c

Definition at line 304 of file CSIS3600.cpp.

Referenced by CSIS3600::Disable().

#define ENABLEFCLEAR   0x050

Definition at line 305 of file CSIS3600.cpp.

#define ENABLENEXTCLOCK   0x028

Definition at line 303 of file CSIS3600.cpp.

Referenced by CSIS3600::Enable().

#define FCLEARWIN   0x008

Definition at line 298 of file CSIS3600.cpp.

Referenced by CSIS3600::SetFastClearWindow().

#define FIFO   0x100

Definition at line 310 of file CSIS3600.cpp.

Referenced by CSIS3600::Read().

#define GetBit ( reg,
field   )     reg.bits.field

Definition at line 448 of file CSIS3600.cpp.

Referenced by CSIS3600::CSIS3600(), CSIS3600::DataReady(), CSIS3600::ExternalClearEnabled(), CSIS3600::ExternalNextEnabled(), CSIS3600::isLatchMode(), and CSIS3600::isLedLit().

#define IDIRQ   0x004

Definition at line 297 of file CSIS3600.cpp.

Referenced by CSIS3600::CSIS3600().

#define Long ( reg   )     reg.l

Definition at line 450 of file CSIS3600.cpp.

Referenced by CSIS3600::ClearLed(), CSIS3600::CSIS3600(), CSIS3600::DataReady(), CSIS3600::DisableExternalClear(), CSIS3600::DisableExternalNext(), CSIS3600::EnableExternalClear(), CSIS3600::EnableExternalNext(), CSIS3600::EndLatch(), CSIS3600::ExternalClearEnabled(), CSIS3600::ExternalNextEnabled(), CSIS3600::isLatchMode(), CSIS3600::isLedLit(), CSIS3600::LightLed(), CSIS3600::SetCoincidenceMode(), CSIS3600::SetLatchMode(), and CSIS3600::StartLatch().

#define NEXTCLOCK   0x024

Definition at line 302 of file CSIS3600.cpp.

Referenced by CSIS3600::Clock().

#define OPFREQ   0x00c

Definition at line 299 of file CSIS3600.cpp.

#define PULSEOUT   0x068

Definition at line 308 of file CSIS3600.cpp.

#define RESET   0x060

Definition at line 307 of file CSIS3600.cpp.

#define SetBit ( reg,
field,
value   )     reg.bits.field = value

Definition at line 447 of file CSIS3600.cpp.

Referenced by CSIS3600::ClearLed(), CSIS3600::DisableExternalClear(), CSIS3600::DisableExternalNext(), CSIS3600::EnableExternalClear(), CSIS3600::EnableExternalNext(), CSIS3600::EndLatch(), CSIS3600::LightLed(), CSIS3600::SetCoincidenceMode(), CSIS3600::SetLatchMode(), and CSIS3600::StartLatch().

#define WRITEFIFO   0x010

Definition at line 300 of file CSIS3600.cpp.

#define Zero ( reg   )     reg.l = 0

Definition at line 449 of file CSIS3600.cpp.

Referenced by CSIS3600::ClearLed(), CSIS3600::DisableExternalClear(), CSIS3600::DisableExternalNext(), CSIS3600::EnableExternalClear(), CSIS3600::EnableExternalNext(), CSIS3600::EndLatch(), CSIS3600::LightLed(), CSIS3600::SetCoincidenceMode(), CSIS3600::SetLatchMode(), and CSIS3600::StartLatch().


Function Documentation

static const unsigned int ModuleLength ( 0x200   )  [static]

size of the module.


Generated on Wed Sep 17 08:38:10 2008 for NSCL Device support. by  doxygen 1.5.1