2005-09-13 16:25:30 +08:00
|
|
|
/*
|
|
|
|
* SharpSL SSP Driver
|
|
|
|
*/
|
|
|
|
|
|
|
|
unsigned long corgi_ssp_ads7846_putget(unsigned long);
|
|
|
|
unsigned long corgi_ssp_ads7846_get(void);
|
|
|
|
void corgi_ssp_ads7846_put(unsigned long data);
|
|
|
|
void corgi_ssp_ads7846_lock(void);
|
|
|
|
void corgi_ssp_ads7846_unlock(void);
|
|
|
|
void corgi_ssp_lcdtg_send (unsigned char adrs, unsigned char data);
|
|
|
|
void corgi_ssp_blduty_set(int duty);
|
|
|
|
int corgi_ssp_max1111_get(unsigned long data);
|
2005-09-13 16:25:32 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* SharpSL Touchscreen Driver
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct corgits_machinfo {
|
|
|
|
unsigned long (*get_hsync_len)(void);
|
|
|
|
void (*put_hsync)(void);
|
|
|
|
void (*wait_hsync)(void);
|
|
|
|
};
|
2005-09-13 16:25:33 +08:00
|
|
|
|
2005-11-11 01:42:29 +08:00
|
|
|
|
2005-09-13 16:25:33 +08:00
|
|
|
/*
|
|
|
|
* SharpSL Backlight
|
|
|
|
*/
|
|
|
|
struct corgibl_machinfo {
|
|
|
|
int max_intensity;
|
2006-03-31 18:31:51 +08:00
|
|
|
int default_intensity;
|
|
|
|
int limit_mask;
|
2005-09-13 16:25:33 +08:00
|
|
|
void (*set_bl_intensity)(int intensity);
|
|
|
|
};
|
2005-11-11 01:42:29 +08:00
|
|
|
extern void corgibl_limit_intensity(int limit);
|
|
|
|
|
2005-09-13 16:25:33 +08:00
|
|
|
|
2005-11-11 01:42:29 +08:00
|
|
|
/*
|
|
|
|
* SharpSL Battery/PM Driver
|
|
|
|
*/
|
|
|
|
extern void sharpsl_battery_kick(void);
|