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
adc-ipod-pcf.c
adc-target.h
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
lcd-as-color-nano.S
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
piezo.c
piezo.h
power-ipod.c
powermgmt-ipod-pcf.c