16 #ifndef EPSONCOMMON_H_ 17 #define EPSONCOMMON_H_ 60 #define DELAY_EPSON_RESET 10 // Milliseconds Reset Pulse Width 61 #define EPSON_POWER_ON_DELAY 800 // Milliseconds 62 #define EPSON_FLASH_TEST_DELAY 5 // Milliseconds 63 #define EPSON_SELF_TEST_DELAY 80 // Milliseconds 64 #define EPSON_FILTER_DELAY 1 // Milliseconds 65 #define EPSON_ATTI_PROFILE_DELAY 1 // Milliseconds 68 #define EpsonStall() seDelayMicroSecs(EPSON_STALL) 145 unsigned short registerRead16(
unsigned char,
unsigned char,
unsigned int);
int sensorDataReadBurstNOptions(struct EpsonOptions, struct EpsonData *)
int sensorInitOptions(struct EpsonOptions)
int sensorInitialBackup(void)
void populateEpsonData(struct EpsonOptions, struct EpsonData *)
int sensorFlashTest(void)
char * getProductId(char *strDest)
int sensorDataReadyOptions(struct EpsonOptions)
unsigned int sensorDataByteLength(struct EpsonOptions)
unsigned short registerRead16(unsigned char, unsigned char, unsigned int)
void registerWriteByte(unsigned char, unsigned char, unsigned char, unsigned int)
char * getSerialId(char *strDest)
void registerWriteByteNoId(unsigned char, unsigned char, unsigned int)
void sensorDummyWrite(void)
unsigned short registerRead16NoId(unsigned char, unsigned int)