FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
hardware hardware irq debouncing support (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: hardware hardware irq debouncing support
#25315
David Brownell (Visitor)
Click here to see the profile of this user
Birthdate:
hardware hardware irq debouncing support  
A flag will never be able to convey some important parameters like how long to debounce. But how important *is* that detail to most drivers?  In practice. I suspect they pick numbers today since they have to debounce with software timers, which require numbers. I think it's very important to drivers that have to deal with mechanical buttons and switches. In many cases, only the board code knows what kind of switch is hooked up to the interrupt, so the driver just passes on that information from the platform data. If the platform setup code knows the hardware debounce will be requested, it can adjust its platform_data debounce parameter accordingly. - Dave
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#25316
hardware hardware irq debouncing support  
I think it's very important to drivers that have to deal with mechanical buttons and switches. In many cases, only the board code knows what kind of switch is hooked up to the interrupt, so the driver just passes on that information from the platform data. If the platform setup code knows the hardware debounce will be requested, it can adjust its platform_data debounce parameter accordingly. I guess it could, but why would it do that? The debounce delay shouldn't depend on the mechanism used to implement it, should it? Or are you thinking about compensating for any delays introduced by IRQF_DEBOUNCE? Haavard
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#25317
David Brownell (Visitor)
Click here to see the profile of this user
Birthdate:
hardware hardware irq debouncing support  
I just want a mechanism where you'll end up with the same behaviour regardless of what the hardware supports, at the cost of a timer if the hardware doesn't support the requested debounce delay. As an added benefit, this would eliminate the need for drivers to set up their own debounce timers. It would also make such more powerful hardware features easier to utilize from generic drivers, wouldn't it? But you've convinced me that your IRQF_DEBOUNCE hint might be useful too. Just for the record ... I'm withdrawing this proposal, in the sense that I won't be pursuing it any further.  A lighter weight solution is enough for now. I think the _frame_work we discussed
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


-----------------------------------------------------------------------------------------------------------------------------------
To open and print manuals use Adobe Reader. You can download it from Adobe's site. Click here to dlownload Adobe Reader.


COPYRIGHT 2007 MANUALS-LIBRARY - THE LARGEST ONLINE MANUSALS DOWNLOAD SOURCE
teksty piosenek - phone cards - songteksten - Schulfragen - quotes - detox - Rechnung schreiben - Blog.de und Datenschutz? - Text of lyrics - hochzeitswebseite - teksty piosenek - Wedding dress - Warum immer ich? - polish NYC - Adult Directory
Get Free Stuff
Search Exchange Web Portal SpyderMap
Koszulki - najtaƄsze na rynku | suwnice | meble kuchenne gdynia | rolety warszawa | akwaria | abercrombie | Kabaret Moralnego Niepokoju | motoryzacja Motoryzacja motoryzacja | Karta kredytowa | Leasing | Nowoczesny ekspres ciƛnieniowy do kawy | nowe ubieranki | Tanie perfumy jenifer lopez - gwarancja jakoƛci. | Tanie boos perfumy - gwarancja jakoƛci. | Tanie perfumy euforia - gwarancja jakoƛci. Mp3 Praca Leszno inspirujące statusy nieruchomoƛci gdaƄsk Precle Moda Modny portal Fotografowanie Pozycjonowanie