TwiceAsNice
2019-02-18
|
Macros | |
#define | B_CFGDATA 0x0000 |
#define | B_UARTDATA 0x0100 |
#define | B_SHORT 0x7fc0 |
#define | B_NOP 0x7fff |
#define | B_CONFIG 0x7ffe |
#define | WOI_YSTART 0x8000 |
#define | WOI_YEND 0x9000 |
#define | WOI_XSTART 0xa000 |
#define | WOI_XEND 0xb000 |
#define | WOI_YINC 0xc000 |
#define | WOI_XINC 0xd000 |
#define | C_LAG0 0xe000 |
#define | C_LAG1 0xe100 |
#define | C_LAG2 0xe200 |
#define | C_LAG3 0xe300 |
#define | C_GAIN 0xe400 |
#define | C_OFFSET 0xe500 |
#define | C_MISC 0xe700 |
#define | CC_SINGLESHOT 0x80 |
#define | CC_DIAGNOSTIC 0x40 |
#define | CC_DIAG_Y 0x20 |
#define | CC_DIAG_XXORY 0x10 |
#define | CC_16BIT_8BIT 0x08 |
#define | CC_BIT_SHIFT_H 0x04 |
#define | CC_BIT_SHIFT_M 0x02 |
#define | CC_BIT_SHIFT_L 0x01 |
#define | CC_SHIFT_0BITS 0x00 |
#define | CC_SHIFT_1BITS 0x01 |
#define | CC_SHIFT_2BITS 0x02 |
#define | CC_SHIFT_3BITS 0x03 |
#define | CC_SHIFT_4BITS 0x04 |
#define | CC_SYNC1_EOF 0x00 |
#define | CC_SYNC1_BOF 0x01 |
#define | CC_SYNC1_EOL 0x02 |
#define | CC_SYNC1_BOL 0x03 |
#define | CC_SYNC2_EOF 0x00 |
#define | CC_SYNC2_BOF 0x04 |
#define | CC_SYNC2_EOL 0x08 |
#define | CC_SYNC2_BOL 0x0c |
#define | CC_F1000_SHY 0x80 |
#define | C_ANAVAL0 0xe800 |
#define | C_ANAVAL1 0xe900 |
#define | C_ANAVAL2 0xea00 |
#define | C_ANAVAL3 0xeb00 |
#define | CSO_YDELAY 0xec00 |
#define | CSO_XDELAY 0xed00 |
#define | CSO_XDELAY2 0xee00 |
#define | CSO_ADCDELAY 0xef00 |
#define | C_ANASEL 0xf000 |
#define | CSO_TDELAY 0xf100 |
#define | CSO_PWM 0xf200 |
#define | C_LINK 0xf300 |
#define | I2CADDR 0xf400 |
#define | I2CDATA 0xf500 |
#define | C_LRATE0 0xf600 |
#define | C_LRATE1 0xf700 |
#define | C_LRATE2 0xf800 |
#define | C_LRATE3 0xf900 |
#define | C_START 0xff80 |
#define | C_SYNCSTART 0xff81 |
#define | C_WAIT 0xff82 |
#define | C_START_WAIT 0xff83 |
#define | C_SINGLE 0xff84 |
#define | C_SYNCCONT 0xff85 |
#define | C_CAL 0xff88 |
#define | CC_SHORT 0xffc0 |
#define | CC_NOP 0xffff |
#define | CC_SYNC 0xfffe |
#define | CC_RESET 0xfffd |
#define | CC_ABORT 0xfffc |
#define | I2CRDREQ 0xfffb |
#define | I2CWRREQ 0xfffa |
#define | I2CSTATRESET 0xfff9 |
#define | CC_CTRL 0xffc0 |
#define | CC_CTRL_AUTORESTART 0x0E |
#define | CC_CTRL_DOUBLECLOCKING 0x06 |
#define | AUX_ADDRESS (0xFC00) |
#define | AUX_DATA (0xFD00) |
#define | AUX_DATA_INC (0xFE00) |
#define AUX_ADDRESS (0xFC00) |
#define AUX_DATA (0xFD00) |
#define AUX_DATA_INC (0xFE00) |
#define B_CFGDATA 0x0000 |
#define B_CONFIG 0x7ffe |
#define B_NOP 0x7fff |
#define B_SHORT 0x7fc0 |
#define B_UARTDATA 0x0100 |
#define C_ANASEL 0xf000 |
#define C_ANAVAL0 0xe800 |
#define C_ANAVAL1 0xe900 |
#define C_ANAVAL2 0xea00 |
#define C_ANAVAL3 0xeb00 |
#define C_CAL 0xff88 |
#define C_GAIN 0xe400 |
#define C_LAG0 0xe000 |
#define C_LAG1 0xe100 |
#define C_LAG2 0xe200 |
#define C_LAG3 0xe300 |
#define C_LINK 0xf300 |
#define C_LRATE0 0xf600 |
#define C_LRATE1 0xf700 |
#define C_LRATE2 0xf800 |
#define C_LRATE3 0xf900 |
#define C_MISC 0xe700 |
#define C_OFFSET 0xe500 |
#define C_SINGLE 0xff84 |
#define C_START 0xff80 |
#define C_START_WAIT 0xff83 |
#define C_SYNCCONT 0xff85 |
#define C_SYNCSTART 0xff81 |
#define C_WAIT 0xff82 |
#define CC_16BIT_8BIT 0x08 |
#define CC_ABORT 0xfffc |
#define CC_BIT_SHIFT_H 0x04 |
#define CC_BIT_SHIFT_L 0x01 |
#define CC_BIT_SHIFT_M 0x02 |
#define CC_CTRL 0xffc0 |
#define CC_CTRL_AUTORESTART 0x0E |
#define CC_CTRL_DOUBLECLOCKING 0x06 |
#define CC_DIAG_XXORY 0x10 |
#define CC_DIAG_Y 0x20 |
#define CC_DIAGNOSTIC 0x40 |
#define CC_F1000_SHY 0x80 |
#define CC_NOP 0xffff |
#define CC_RESET 0xfffd |
#define CC_SHIFT_0BITS 0x00 |
#define CC_SHIFT_1BITS 0x01 |
#define CC_SHIFT_2BITS 0x02 |
#define CC_SHIFT_3BITS 0x03 |
#define CC_SHIFT_4BITS 0x04 |
#define CC_SHORT 0xffc0 |
#define CC_SINGLESHOT 0x80 |
#define CC_SYNC 0xfffe |
#define CC_SYNC1_BOF 0x01 |
#define CC_SYNC1_BOL 0x03 |
#define CC_SYNC1_EOF 0x00 |
#define CC_SYNC1_EOL 0x02 |
#define CC_SYNC2_BOF 0x04 |
#define CC_SYNC2_BOL 0x0c |
#define CC_SYNC2_EOF 0x00 |
#define CC_SYNC2_EOL 0x08 |
#define CSO_ADCDELAY 0xef00 |
#define CSO_PWM 0xf200 |
#define CSO_TDELAY 0xf100 |
#define CSO_XDELAY 0xed00 |
#define CSO_XDELAY2 0xee00 |
#define CSO_YDELAY 0xec00 |
#define I2CADDR 0xf400 |
#define I2CDATA 0xf500 |
#define I2CRDREQ 0xfffb |
#define I2CSTATRESET 0xfff9 |
#define I2CWRREQ 0xfffa |
#define WOI_XEND 0xb000 |
#define WOI_XINC 0xd000 |
#define WOI_XSTART 0xa000 |
#define WOI_YEND 0x9000 |
#define WOI_YINC 0xc000 |
#define WOI_YSTART 0x8000 |