Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Advantages of interrupt driven button driver?
« previous next »
  • Print
Pages: [1]

Author Topic: Advantages of interrupt driven button driver?  (Read 1577 times)

Offline Vortex

  • Member
  • *
  • Posts: 155
Advantages of interrupt driven button driver?
« on: June 03, 2007, 12:43:20 PM »
Hi,

I don't know too much about the technical stuff and I was wondering if the recent changes in the Sansa's button driver to use GPIO IRQs instead of polling affect me as the "end-user" in any way.

It seems the PCM buffer still empties rather quickly when scrolling through lists, so scrolling did not get much smoother compared to before the changes.

However, if Rockbox no longer has to poll for button events does that save some energy (resulting in longer battery life)?

Sorry for the stupid questions, I'm just curious what the developers are working on. ;)

Keep up the good work! Rockbox on the Sansa has improved so much over just the past few weeks, it's awesome!
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Advantages of interrupt driven button driver?
« Reply #1 on: June 04, 2007, 05:35:05 AM »
Actually the version that you  are using still use polling. The GPIO code is in there, but is not  really used. The Sansa port only started using GPIO IRQ's on Jun. 3, 2007:

r13538 | jethead71 | 2007-06-03 10:31:42 -0400 (Sun, 03 Jun 2007) | 1 line

e200: Finally use GPIO IRQs for the buttons...it's IRQ enable bit 33 afterall an
d verified independently. There shouldn't now be a need to add tick tasks to mon
itor GPIO level status in other code.


Charles
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Advantages of interrupt driven button driver?
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.115 seconds with 19 queries.