Re: delay after interrupt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gaurav Dhiman wrote:

On 5/10/06, Christian Boon <c.boon@xxxxxxxxxxxxxxxxxxxx> wrote:

Hello,

i've got a question.
i have a module with an interrupt line connected to a fifo


what does this mean, please explain more.

It means when receiving an interrupt a fifo is filled with data and it takes some time until the fifo is full. when i start reading the fifo right away, i would read the fifo faster then the fifo is filled so there has to
be a delay of around 400 uS..

is it possible to wait after an interrupt for  400 uS before execution a
function (reading the fifo)?


why you want to wait in interrupt handler, not a good idea atall.


I dont want to wait in an interrupt handler, i just want to delay reading the fifo because otherwise the fifo won't be filled yet. I know there are bottom halves to delay execution of a specific function, but those are always in the range of jiffies, not micro seconds.

Christian.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux