CEBL  2.1
Data Structures | Macros | Enumerations
Mindset24.hpp File Reference
#include <sys/ioctl.h>
#include <fcntl.h>
#include <scsi/sg.h>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <string>

Go to the source code of this file.

Data Structures

struct  MindsetReply
 structure containing mindset's reply to command More...
struct  MindsetStatus
 structure containing the status of the mindset More...
class  Mindset24
 driver class to interface with mindset More...

Macros

#define SENSE_BUF_LEN   32
#define REPLY_STRING_LENGTH   32
#define REPLY_STRING_MAX   4096

Enumerations

enum  BlockSize { BLOCKSIZE96 = 1, BLOCKSIZE192 = 2, BLOCKSIZE384 = 4, BLOCKSIZE768 = 8 }
 size of blocks recieved in bytes More...
enum  SampleRate {
  SAMPLERATE0 = 0, SAMPLERATE1024 = 1, SAMPLERATE512 = 2, SAMPLERATE256 = 3,
  SAMPLERATE128 = 4, SAMPLERATE64 = 5
}
 sample rate – samples/sec More...
enum  MindsetCommand {
  INQUIRE, READDATA, READSTATUS, READY,
  SETSAMPLERATE, SETBLOCKSIZE
}
 commands to send to mindset More...

Macro Definition Documentation

#define REPLY_STRING_LENGTH   32

Definition at line 42 of file Mindset24.hpp.

#define REPLY_STRING_MAX   4096

Definition at line 43 of file Mindset24.hpp.

#define SENSE_BUF_LEN   32

Definition at line 41 of file Mindset24.hpp.


Enumeration Type Documentation

enum BlockSize

size of blocks recieved in bytes

Enumerator:
BLOCKSIZE96 
BLOCKSIZE192 
BLOCKSIZE384 
BLOCKSIZE768 

Definition at line 46 of file Mindset24.hpp.

commands to send to mindset

Enumerator:
INQUIRE 
READDATA 
READSTATUS 
READY 
SETSAMPLERATE 
SETBLOCKSIZE 

Definition at line 64 of file Mindset24.hpp.

enum SampleRate

sample rate – samples/sec

Enumerator:
SAMPLERATE0 
SAMPLERATE1024 
SAMPLERATE512 
SAMPLERATE256 
SAMPLERATE128 
SAMPLERATE64 

Definition at line 54 of file Mindset24.hpp.