
#define CONTROL_CMD	0x00
#define COMM_CMD	0x01
#define MODE_CMD	0x02
#define TEST_CMD	0x03

#define CTL_RESET_DEVICE	0x0000
#define CTL_START_EXE		0x0001
#define CTL_RESUME_EXE		0x0002
#define CTL_HALT_EXE_IDLE	0x0003
#define CTL_HALT_EXE_DONE	0x0004
#define CTL_FLUSH_COMM_CMDS	0x0007
#define CTL_FLUSH_CV_BUFFER	0x0008
#define CTL_FLUSH_CMT_BUFFER	0x0009
#define CTL_GET_COMM_CMDS	0x000A

#define MOD_PULSE_EN		0x0000
#define MOD_SPEED_CHANGE_EN	0x0001
#define MOD_1WIRE_SPEED		0x0002
#define MOD_STRONG_PU_DURATION	0x0003
#define MOD_PULLDOWN_SLEWRATE	0x0004
#define MOD_PROG_PULSE_DURATION	0x0005
#define MOD_WRITE1_LOWTIME	0x0006
#define MOD_DSOW0_TREC		0x0007

