rockbox/firmware/target/arm/ipod
Cástor Muñoz 348bfc5c8f iPod Classic: clickwheel fixes
Uses GPIO.E2 (Request To Send) to detect the holdswitch status,
it is a temporal workaround that seems to work on all models.

Holdswitch status must be detected to drive low GPIO.E2 (RTS)
and GPIO.E4 (Data Out) when the holdswitch is locked, otherwise
battery life decreases about 25%.

Holdswitch unlock action is detected by reading the HELLO message
that the external wheel controller sends when it is powered on,
this allows to quickly capture clickwheel activity after unlock.
GPIO.E2 is also used in case the HELLO message is missed because
the holdswitch was unlocked before Rockbox/bootloader starts.

These 2 lines (RTS and DOUT) can not be used to transmit messages
to the external clickwheel controller, not a problem, actually no
messages are sent while normal operation, only at initialization
stage.

Change-Id: I415fe54bfcbc2086d0f56d7affe6f789ce81a6db
2015-12-17 10:26:51 +01:00
..
1g2g Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
3g Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
video lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
adc-ipod-pcf.c ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTAT 2011-07-24 17:32:50 +00:00
adc-target.h ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTAT 2011-07-24 17:32:50 +00:00
app.lds Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
backlight-4g_color.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
backlight-mini1g_mini2g.c Fix red/yellow 2015-01-12 12:02:24 +01:00
backlight-nano_video.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
backlight-target.h Fix red/yellow 2015-01-12 12:02:24 +01:00
boot.lds Combine PortalPlayer .lds files into one for app and boot. 2013-07-19 08:18:16 -04:00
button-1g-3g.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
button-clickwheel.c iPod Classic: clickwheel fixes 2015-12-17 10:26:51 +01:00
button-mini1g.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
button-target.h button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
lcd-as-color-nano.S Remove superfluous executable bits on a bunch of files. 2011-06-08 14:22:03 +00:00
lcd-as-gray.S
lcd-color_nano.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
lcd-gray.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
piezo.c Fix the gpl notice in the previous commits new files, and fix the yelow gevearts naughtily ignored 2011-11-16 10:37:48 +00:00
piezo.h Fix the gpl notice in the previous commits new files, and fix the yelow gevearts naughtily ignored 2011-11-16 10:37:48 +00:00
power-ipod.c
powermgmt-ipod-pcf.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00