ts-7000
[Top] [All Lists]

[ts-7000] Re: Question about an interrupt handler and debounce

To:
Subject: [ts-7000] Re: Question about an interrupt handler and debounce
From: "bdon003" <>
Date: Mon, 30 Jun 2008 23:58:27 -0000
--- In  Matthieu Crapet <> wrote:
>
> Hi,
> 
> I am writing actually a "keyboard input" driver based on that idea.
> 
> I use the DIO1 header : port B. Can fit a 4x4 keypad.
> 
> I setup 4 interrupts and use the debounce feature of the ep93xx.
> I my isr I disable interrupts and schedule a tasklet to check row/col 
> status then I setup a timer HZ/10 (TS-7200)
> and then re-enable interrupts.
> 
> It works. Actually I only tested it on a 3x4 keypad, I am waiting to 
> have a 4x4 keypad for more tests.
> 
> Regards,
> Matthieu
> 
> 

Hi Matthieu,

     That seems to be just what I am looking to do.  So you basically
enable the debounce feature in the PORTADB register when loading your
driver, and then that takes care of it?  I overlooked the debounce
feature when reading through the EP93xx manual.  It appears that the
interrupt will not be sent until after the key is considered
debounced, so what is the use of the timer?  

Thanks,
Brandon


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU