Textgröße
Kontrast
When the user touches the Delta touch panel (differential measurement), the driver computes the X/Y coordinates. It then uses the S3C2410_LCDCON registers to dynamically adjust the TIMEVAL (vertical sync) or the MVAL (inversion signal) to reduce flicker.
if (bit_count >= OSR) vis->delta_sigma_samples[current_index++] = accum / OSR; if (current_index >= BUFFER_SIZE) wake_up_interruptible(&vis->wait); accum = 0; bit_count = 0; -vis On S3c2410x Delta Driver -
// Delta-Sigma accumulator (simple 1st order) accum = accum + (data_bit ? DELTA_VREF : 0); bit_count++; When the user touches the Delta touch panel
static irqreturn_t delta_irq_handler(int irq, void *dev_id) // Decimation logic here (see section 3.3) return IRQ_HANDLED; = OSR) vis->
static struct platform_driver vis_delta_driver = .probe = vis_delta_probe, .remove = vis_delta_remove, .driver = .name = DRIVER_NAME, .owner = THIS_MODULE, , ;