Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: firmware/serial.c mod problem. please help.

firmware/serial.c mod problem. please help.

From: jobarjo <jobarjo78_at_yahoo.fr>
Date: Mon, 19 Apr 2004 22:47:14 +0200

Hi all

I've started trying to hack the rockbox for my unilink cd changer application.
I've modified firmware/serial.c to install interrupt handlers for receive and transmit, based on jorg's alpine cd changer code.

There is an error filtering mechanism which is based on polling, surely because the remote pin receives noises when pluggin the headphones.
This mechanism confirms a received code if at the next tick there is no error.

Is there a way to replace this noise filtering based only with interrupts?
I need to respond to some commands in real time, So I've no time waiting for the next tick...

I've looked at the doc, when there is a framing error, the byte is not received. So is the noise filtering mandatory?

Regards
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-04-19

Page template was last modified "Sat Sep 18 20:21:06 2021" The Rockbox Crew -- Privacy Policy