mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-21 06:34:32 +01:00
Added: embedded classes for Eiger
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@661 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
30
slsDetectorSoftware/eigerDetectorServer/HardwareIO.h
Normal file
30
slsDetectorSoftware/eigerDetectorServer/HardwareIO.h
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
|
||||
//Class initially from Gerd and was called mmap_test.c
|
||||
|
||||
#ifndef HARDWAREIO_H
|
||||
#define HARDWAREIO_H
|
||||
|
||||
#include "xfs_types.h"
|
||||
|
||||
class HardwareIO{ //
|
||||
|
||||
protected:
|
||||
xfs_u8 xfs_in8(xfs_u32 InAddress);
|
||||
xfs_u16 xfs_in16(xfs_u32 InAddress);
|
||||
xfs_u32 xfs_in32(xfs_u32 InAddress);
|
||||
|
||||
void xfs_out8(xfs_u32 OutAddress, xfs_u8 Value);
|
||||
void xfs_out16(xfs_u32 OutAddress, xfs_u16 Value);
|
||||
void xfs_out32(xfs_u32 OutAddress, xfs_u32 Value);
|
||||
|
||||
|
||||
public:
|
||||
HardwareIO(){};
|
||||
virtual ~HardwareIO(){};
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user