libsigrok
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Macros | Enumerations
asix-sigma.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clockselect_50
 
struct  triggerinout
 
struct  triggerlut
 
struct  sigma_trigger
 
struct  sigma_state
 
struct  context
 

Macros

#define REG_ADDR_LOW   (0 << 4)
 
#define REG_ADDR_HIGH   (1 << 4)
 
#define REG_DATA_LOW   (2 << 4)
 
#define REG_DATA_HIGH_WRITE   (3 << 4)
 
#define REG_READ_ADDR   (4 << 4)
 
#define REG_DRAM_WAIT_ACK   (5 << 4)
 
#define REG_DRAM_BLOCK   (6 << 4)
 
#define REG_DRAM_BLOCK_BEGIN   (8 << 4)
 
#define REG_DRAM_BLOCK_DATA   (10 << 4)
 
#define LEDSEL0   6
 
#define LEDSEL1   7
 
#define NEXT_REG   1
 
#define EVENTS_PER_CLUSTER   7
 
#define CHUNK_SIZE   1024
 

Enumerations

enum  sigma_write_register {
  WRITE_CLOCK_SELECT = 0, WRITE_TRIGGER_SELECT0 = 1, WRITE_TRIGGER_SELECT1 = 2, WRITE_MODE = 3,
  WRITE_MEMROW = 4, WRITE_POST_TRIGGER = 5, WRITE_TRIGGER_OPTION = 6, WRITE_PIN_VIEW = 7,
  WRITE_TEST = 15
}
 
enum  sigma_read_register {
  READ_ID = 0, READ_TRIGGER_POS_LOW = 1, READ_TRIGGER_POS_HIGH = 2, READ_TRIGGER_POS_UP = 3,
  READ_STOP_POS_LOW = 4, READ_STOP_POS_HIGH = 5, READ_STOP_POS_UP = 6, READ_MODE = 7,
  READ_PIN_CHANGE_LOW = 8, READ_PIN_CHANGE_HIGH = 9, READ_BLOCK_LAST_TS_LOW = 10, READ_BLOCK_LAST_TS_HIGH = 11,
  READ_PIN_VIEW = 12, READ_TEST = 15
}
 
enum  triggerop {
  OP_LEVEL = 1, OP_NOT, OP_RISE, OP_FALL,
  OP_RISEFALL, OP_NOTRISE, OP_NOTFALL, OP_NOTRISEFALL
}
 
enum  triggerfunc {
  FUNC_AND = 1, FUNC_NAND, FUNC_OR, FUNC_NOR,
  FUNC_XOR, FUNC_NXOR
}
 

Macro Definition Documentation

#define CHUNK_SIZE   1024

Definition at line 75 of file asix-sigma.h.

#define EVENTS_PER_CLUSTER   7

Definition at line 73 of file asix-sigma.h.

#define LEDSEL0   6

Definition at line 68 of file asix-sigma.h.

#define LEDSEL1   7

Definition at line 69 of file asix-sigma.h.

#define NEXT_REG   1

Definition at line 71 of file asix-sigma.h.

#define REG_ADDR_HIGH   (1 << 4)

Definition at line 57 of file asix-sigma.h.

#define REG_ADDR_LOW   (0 << 4)

Definition at line 56 of file asix-sigma.h.

#define REG_DATA_HIGH_WRITE   (3 << 4)

Definition at line 59 of file asix-sigma.h.

#define REG_DATA_LOW   (2 << 4)

Definition at line 58 of file asix-sigma.h.

#define REG_DRAM_BLOCK   (6 << 4)

Definition at line 64 of file asix-sigma.h.

#define REG_DRAM_BLOCK_BEGIN   (8 << 4)

Definition at line 65 of file asix-sigma.h.

#define REG_DRAM_BLOCK_DATA   (10 << 4)

Definition at line 66 of file asix-sigma.h.

#define REG_DRAM_WAIT_ACK   (5 << 4)

Definition at line 61 of file asix-sigma.h.

#define REG_READ_ADDR   (4 << 4)

Definition at line 60 of file asix-sigma.h.

Enumeration Type Documentation

Enumerator
READ_ID 
READ_TRIGGER_POS_LOW 
READ_TRIGGER_POS_HIGH 
READ_TRIGGER_POS_UP 
READ_STOP_POS_LOW 
READ_STOP_POS_HIGH 
READ_STOP_POS_UP 
READ_MODE 
READ_PIN_CHANGE_LOW 
READ_PIN_CHANGE_HIGH 
READ_BLOCK_LAST_TS_LOW 
READ_BLOCK_LAST_TS_HIGH 
READ_PIN_VIEW 
READ_TEST 

Definition at line 38 of file asix-sigma.h.

Enumerator
WRITE_CLOCK_SELECT 
WRITE_TRIGGER_SELECT0 
WRITE_TRIGGER_SELECT1 
WRITE_MODE 
WRITE_MEMROW 
WRITE_POST_TRIGGER 
WRITE_TRIGGER_OPTION 
WRITE_PIN_VIEW 
WRITE_TEST 

Definition at line 25 of file asix-sigma.h.

Enumerator
FUNC_AND 
FUNC_NAND 
FUNC_OR 
FUNC_NOR 
FUNC_XOR 
FUNC_NXOR 

Definition at line 151 of file asix-sigma.h.

enum triggerop
Enumerator
OP_LEVEL 
OP_NOT 
OP_RISE 
OP_FALL 
OP_RISEFALL 
OP_NOTRISE 
OP_NOTFALL 
OP_NOTRISEFALL 

Definition at line 139 of file asix-sigma.h.