summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-04-16 23:16:32 +0000
committerJens Arnold <amiconn@rockbox.org>2006-04-16 23:16:32 +0000
commitf2897e81807bf66b5a391d82bca163d59008ccb0 (patch)
treef085f4e14e7f5a1a642dad52bfe43fc951faf672 /apps/plugins
parent295c226ed507603a485e3524723f20741b9bdd7e (diff)
downloadrockbox-f2897e81807bf66b5a391d82bca163d59008ccb0.zip
rockbox-f2897e81807bf66b5a391d82bca163d59008ccb0.tar.gz
rockbox-f2897e81807bf66b5a391d82bca163d59008ccb0.tar.bz2
rockbox-f2897e81807bf66b5a391d82bca163d59008ccb0.tar.xz
H300: Optimised PCF50606 driver, significantly reduces CPU power drain from the button tick (with both main & remote buttons: 50%->13% at 11MHz, 12%->6% at 45MHz): * Delay is adapted to the current CPU clock, aiming at constant 400kHz i2c clock. * Reduced number of port accesses (accessing GPIO is very slow, especially with the atomic boolean instructions) by implementing an open-collector-like behaviour. * Time-critical functions implemented in assembler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9693 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
0 files changed, 0 insertions, 0 deletions